[FastISel] Actually enable local value sinking by default
authorReid Kleckner <rnk@google.com>
Fri, 27 Apr 2018 21:51:25 +0000 (21:51 +0000)
committerReid Kleckner <rnk@google.com>
Fri, 27 Apr 2018 21:51:25 +0000 (21:51 +0000)
llvm-svn: 331088

llvm/lib/CodeGen/SelectionDAG/FastISel.cpp

index 23a7798..4b100ac 100644 (file)
@@ -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<bool> 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 "