[llvm] r316199 - Disabling the transformation introduced in r315888

Nemanja Ivanovic via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 19 17:36:46 PDT 2017


Author: nemanjai
Date: Thu Oct 19 17:36:46 2017
New Revision: 316199

URL: http://llvm.org/viewvc/llvm-project?rev=316199&view=rev
Log:
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.

Modified:
    llvm/trunk/lib/Target/PowerPC/PPCMIPeephole.cpp
    llvm/trunk/test/CodeGen/PowerPC/ppc-ctr-dead-code.ll

Modified: llvm/trunk/lib/Target/PowerPC/PPCMIPeephole.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/PowerPC/PPCMIPeephole.cpp?rev=316199&r1=316198&r2=316199&view=diff
==============================================================================
--- llvm/trunk/lib/Target/PowerPC/PPCMIPeephole.cpp (original)
+++ llvm/trunk/lib/Target/PowerPC/PPCMIPeephole.cpp Thu Oct 19 17:36:46 2017
@@ -43,12 +43,12 @@ STATISTIC(NumOptADDLIs, "Number of optim
 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&);

Modified: llvm/trunk/test/CodeGen/PowerPC/ppc-ctr-dead-code.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/PowerPC/ppc-ctr-dead-code.ll?rev=316199&r1=316198&r2=316199&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/PowerPC/ppc-ctr-dead-code.ll (original)
+++ llvm/trunk/test/CodeGen/PowerPC/ppc-ctr-dead-code.ll Thu Oct 19 17:36:46 2017
@@ -31,7 +31,7 @@ cleanup:
 ; CHECK-LABEL: limit_loop
 ; CHECK: mtctr
 ; CHECK-NOT: addi {{[0-9]+}}, {{[0-9]+}}, 1
-; CHECK: bdzlr
+; CHECK: bdnz
 ; CHECK: blr
 }
 




More information about the llvm-commits mailing list