Disable LICM speculation in high register pressure situation again now that Devang...
authorEvan Cheng <evan.cheng@apple.com>
Wed, 26 Oct 2011 01:26:57 +0000 (01:26 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Wed, 26 Oct 2011 01:26:57 +0000 (01:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143003 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/MachineLICM.cpp

index 964e97120797233e0decbc59ceaed27ab7df3b96..e756dedff474733b44283e795d4c140fc0699c35 100644 (file)
@@ -45,7 +45,7 @@ using namespace llvm;
 static cl::opt<bool>
 AvoidSpeculation("avoid-speculation",
                  cl::desc("MachineLICM should avoid speculation"),
-                 cl::init(false), cl::Hidden);
+                 cl::init(true), cl::Hidden);
 
 STATISTIC(NumHoisted,
           "Number of machine instructions hoisted out of loops");