Skip to content

Commit

Permalink
Disabling the transformation introduced in r315888
Browse files Browse the repository at this point in the history
The commit at https://reviews.llvm.org/rL315888 is causing some failures
with internal testing. Disabling this code until we can resolve the issues.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@316199 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
nemanjai committed Oct 20, 2017
1 parent 4dea1f2 commit f56176d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions lib/Target/PowerPC/PPCMIPeephole.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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&);
Expand Down
2 changes: 1 addition & 1 deletion test/CodeGen/PowerPC/ppc-ctr-dead-code.ll
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit f56176d

Please sign in to comment.