summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2018-04-27 21:51:25 +0000
committerReid Kleckner <rnk@google.com>2018-04-27 21:51:25 +0000
commitefc0f8cbdc5e29dcc78ed05c1048367890687ce5 (patch)
treee0e0be095f3a3775f64c7236f3d6b12f4426625f /llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
parenta28e767f06d1781e9d095bf4646472f8c51f3a8b (diff)
downloadbcm5719-llvm-efc0f8cbdc5e29dcc78ed05c1048367890687ce5.tar.gz
bcm5719-llvm-efc0f8cbdc5e29dcc78ed05c1048367890687ce5.zip
[FastISel] Actually enable local value sinking by default
llvm-svn: 331088
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/FastISel.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/FastISel.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp b/llvm/lib/CodeGen/SelectionDAG/FastISel.cpp
index 23a7798f867..4b100acc9a5 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<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 "
OpenPOWER on IntegriCloud