]> granicus.if.org Git - llvm/commitdiff
Revert r351520, "Re-enable terminator folding in LoopSimplifyCFG"
authorJordan Rupprecht <rupprecht@google.com>
Tue, 22 Jan 2019 17:39:02 +0000 (17:39 +0000)
committerJordan Rupprecht <rupprecht@google.com>
Tue, 22 Jan 2019 17:39:02 +0000 (17:39 +0000)
This is still causing compilation crashes in some targets. Will follow up shortly with a repro.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@351845 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Scalar/LoopSimplifyCFG.cpp

index 0acb7c0aa2de7593eed097b9af7c97d95bd9ece0..b0fa4f7e0ef5aedce456fdc3be2b49bcc085fcc4 100644 (file)
@@ -41,7 +41,7 @@ using namespace llvm;
 #define DEBUG_TYPE "loop-simplifycfg"
 
 static cl::opt<bool> EnableTermFolding("enable-loop-simplifycfg-term-folding",
-                                       cl::init(true));
+                                       cl::init(false));
 
 STATISTIC(NumTerminatorsFolded,
           "Number of terminators folded to unconditional branches");