OSDN Git Service

[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)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@331088 91177308-0d34-0410-b5e6-96231b3b80d8

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 "