From efc0f8cbdc5e29dcc78ed05c1048367890687ce5 Mon Sep 17 00:00:00 2001 From: Reid Kleckner Date: Fri, 27 Apr 2018 21:51:25 +0000 Subject: [PATCH] [FastISel] Actually enable local value sinking by default llvm-svn: 331088 --- llvm/lib/CodeGen/SelectionDAG/FastISel.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp index 23a7798f8676..4b100acc9a59 100644 --- a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp @@ -113,11 +113,9 @@ using namespace llvm; #define DEBUG_TYPE "isel" -// FIXME: Remove this when compile time issues are addressed. Do this by only -// numbering instructions between local value map flush points instead of the -// entire BB. +// FIXME: Remove this after the feature has proven reliable. static cl::opt SinkLocalValues("fast-isel-sink-local-values", - cl::init(false), cl::Hidden, + cl::init(true), cl::Hidden, cl::desc("Sink local values in FastISel")); STATISTIC(NumFastIselSuccessIndependent, "Number of insts selected by "