[PPC] Enable transformations in PPCPassConfig::addIRPasses at O2
authorEhsan Amiri <amehsan@ca.ibm.com>
Thu, 7 Apr 2016 15:30:55 +0000 (15:30 +0000)
committerEhsan Amiri <amehsan@ca.ibm.com>
Thu, 7 Apr 2016 15:30:55 +0000 (15:30 +0000)
commit4701a91e59270639341fde8f34eaf2773e1c74c6
tree3d4977337e05df359b556b6b3e144bb5ce9fd8a7
parent74031ba1e9470d9b108aa5256d326c5b0053b004
[PPC] Enable transformations in PPCPassConfig::addIRPasses at O2

http://reviews.llvm.org/D18562

A large number of testcases has been modified so they pass after this test.
One testcase is deleted, because I realized even after undoing the original
change that was committed with this testcase, the testcase still passes. So
I removed it. The change to one other testcase (test/CodeGen/PowerPC/pr25802.ll)
is an arbitrary change to keep it passing. Given the original intention of the
testcase, and the fact that fixing it will require some time to change the testcase,
we concluded that this quick change will be enough.

llvm-svn: 265683
30 files changed:
llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
llvm/test/CodeGen/PowerPC/2007-09-07-LoadStoreIdxForms.ll
llvm/test/CodeGen/PowerPC/2012-11-16-mischedcall.ll
llvm/test/CodeGen/PowerPC/bdzlr.ll
llvm/test/CodeGen/PowerPC/ctrloop-udivti3.ll
llvm/test/CodeGen/PowerPC/ctrloops.ll
llvm/test/CodeGen/PowerPC/ec-input.ll
llvm/test/CodeGen/PowerPC/fp2int2fp-ppcfp128.ll
llvm/test/CodeGen/PowerPC/lbzux.ll
llvm/test/CodeGen/PowerPC/lsr-postinc-pos.ll
llvm/test/CodeGen/PowerPC/optcmp.ll
llvm/test/CodeGen/PowerPC/ppc-shrink-wrapping.ll
llvm/test/CodeGen/PowerPC/ppc64-calls.ll
llvm/test/CodeGen/PowerPC/pr25802.ll
llvm/test/CodeGen/PowerPC/preincprep-invoke.ll
llvm/test/CodeGen/PowerPC/qpx-bv-sint.ll
llvm/test/CodeGen/PowerPC/qpx-s-sel.ll
llvm/test/CodeGen/PowerPC/qpx-sel.ll
llvm/test/CodeGen/PowerPC/qpx-split-vsetcc.ll
llvm/test/CodeGen/PowerPC/stwux.ll
llvm/test/CodeGen/PowerPC/subreg-postra-2.ll
llvm/test/CodeGen/PowerPC/subreg-postra.ll
llvm/test/CodeGen/PowerPC/subsumes-pred-regs.ll [deleted file]
llvm/test/CodeGen/PowerPC/svr4-redzone.ll
llvm/test/CodeGen/PowerPC/tls_get_addr_stackframe.ll
llvm/test/CodeGen/PowerPC/unal-altivec.ll
llvm/test/CodeGen/PowerPC/unal4-std.ll
llvm/test/CodeGen/PowerPC/vsx-fma-mutate-undef.ll
llvm/test/CodeGen/PowerPC/vsx-infl-copy1.ll
llvm/test/CodeGen/PowerPC/xvcmpeqdp-v2f64.ll