diff --git a/llvm/lib/Target/PowerPC/PPCMIPeephole.cpp b/llvm/lib/Target/PowerPC/PPCMIPeephole.cpp index d135287a8456..80b7ac24345d 100644 --- a/llvm/lib/Target/PowerPC/PPCMIPeephole.cpp +++ b/llvm/lib/Target/PowerPC/PPCMIPeephole.cpp @@ -43,12 +43,12 @@ STATISTIC(NumOptADDLIs, "Number of optimized ADD instruction fed by LI"); static cl::opt EnableSExtElimination("ppc-eliminate-signext", cl::desc("enable elimination of sign-extensions"), - cl::init(true), cl::Hidden); + cl::init(false), cl::Hidden); static cl::opt 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&); diff --git a/llvm/test/CodeGen/PowerPC/ppc-ctr-dead-code.ll b/llvm/test/CodeGen/PowerPC/ppc-ctr-dead-code.ll index 2cfbb2d00df7..71755f722cb2 100644 --- a/llvm/test/CodeGen/PowerPC/ppc-ctr-dead-code.ll +++ b/llvm/test/CodeGen/PowerPC/ppc-ctr-dead-code.ll @@ -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 }