Disabling the transformation introduced in r315888

The commit at https://reviews.llvm.org/rL315888 is causing some failures
with internal testing. Disabling this code until we can resolve the issues.

llvm-svn: 316199
This commit is contained in:
Nemanja Ivanovic 2017-10-20 00:36:46 +00:00
parent 6956109fb8
commit b200492512
2 changed files with 3 additions and 3 deletions

View File

@ -43,12 +43,12 @@ STATISTIC(NumOptADDLIs, "Number of optimized ADD instruction fed by LI");
static cl::opt<bool>
EnableSExtElimination("ppc-eliminate-signext",
cl::desc("enable elimination of sign-extensions"),
cl::init(true), cl::Hidden);
cl::init(false), cl::Hidden);
static cl::opt<bool>
EnableZExtElimination("ppc-eliminate-zeroext",
cl::desc("enable elimination of zero-extensions"),
cl::init(true), cl::Hidden);
cl::init(false), cl::Hidden);
namespace llvm {
void initializePPCMIPeepholePass(PassRegistry&);

View File

@ -31,7 +31,7 @@ cleanup: ; preds = %for.body, %for.cond
; CHECK-LABEL: limit_loop
; CHECK: mtctr
; CHECK-NOT: addi {{[0-9]+}}, {{[0-9]+}}, 1
; CHECK: bdzlr
; CHECK: bdnz
; CHECK: blr
}