llvm.org GIT mirror llvm / 1c85503
Remove accidental check-ins in r65960. :-( git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@65961 91177308-0d34-0410-b5e6-96231b3b80d8 Bill Wendling 10 years ago
2 changed file(s) with 2 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
3131 using namespace llvm;
3232
3333 STATISTIC(NumSpeculations, "Number of speculative executed instructions");
34
35 #include "llvm/Support/CommandLine.h"
36 static cl::opt
37 DisableXForm("disable-xform", cl::Hidden, cl::init(false));
3834
3935 /// SafeToMergeTerminators - Return true if it is safe to merge these two
4036 /// terminator instructions together.
17851781 }
17861782
17871783 // If we found some, do the transformation!
1788 if (!UncondBranchPreds.empty() && !DisableXForm) {
1784 if (!UncondBranchPreds.empty()) {
17891785 while (!UncondBranchPreds.empty()) {
17901786 BasicBlock *Pred = UncondBranchPreds.back();
17911787 DOUT << "FOLDING: " << *BB
None ; RUN: bugpoint %s -dce -bugpoint-deletecalls -simplifycfg -silence-passes -gcc-tool-args -m32
0 ; RUN: bugpoint %s -dce -bugpoint-deletecalls -simplifycfg -silence-passes
11
22 @.LC0 = internal global [13 x i8] c"Hello World\0A\00" ; <[13 x i8]*> [#uses=1]
33