Remove accidental check-ins in r65960. :-(
authorBill Wendling <isanbard@gmail.com>
Tue, 3 Mar 2009 19:25:16 +0000 (19:25 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 3 Mar 2009 19:25:16 +0000 (19:25 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65961 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Transforms/Utils/SimplifyCFG.cpp
test/BugPoint/misopt-basictest.ll

index 96cd299242da8464dbe84238345d557e908f1518..25579614ecfdf7f7cde8b2ea3fd4435e38c1b654 100644 (file)
@@ -33,10 +33,6 @@ using namespace llvm;
 
 STATISTIC(NumSpeculations, "Number of speculative executed instructions");
 
-#include "llvm/Support/CommandLine.h"
-static cl::opt<bool>
-DisableXForm("disable-xform", cl::Hidden, cl::init(false));
-
 /// SafeToMergeTerminators - Return true if it is safe to merge these two
 /// terminator instructions together.
 ///
@@ -1786,7 +1782,7 @@ bool llvm::SimplifyCFG(BasicBlock *BB) {
       }
 
       // If we found some, do the transformation!
-      if (!UncondBranchPreds.empty() && !DisableXForm) {
+      if (!UncondBranchPreds.empty()) {
         while (!UncondBranchPreds.empty()) {
           BasicBlock *Pred = UncondBranchPreds.back();
           DOUT << "FOLDING: " << *BB
index 6350f40db7af916605a8a35005e332e9bbc34132..e59b4ed7d90807d8561fa5d9a6e6e6d04b19e018 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: bugpoint %s -dce -bugpoint-deletecalls -simplifycfg -silence-passes -gcc-tool-args -m32
+; RUN: bugpoint %s -dce -bugpoint-deletecalls -simplifycfg -silence-passes
 
 @.LC0 = internal global [13 x i8] c"Hello World\0A\00"          ; <[13 x i8]*> [#uses=1]