Disable the PPC CTR-Loops pass by default.
authorHal Finkel <hfinkel@anl.gov>
Fri, 8 Jun 2012 15:38:25 +0000 (15:38 +0000)
committerHal Finkel <hfinkel@anl.gov>
Fri, 8 Jun 2012 15:38:25 +0000 (15:38 +0000)
commit09fdc7baae1b6905fe18df48e2278e74d4e39ccd
treeb1a2aadea993ad0d4664fd42e934a9cf05e7238b
parentdaa03ec60475a641bcc66799764977f79997ca45
Disable the PPC CTR-Loops pass by default.

The pass itself works well, but the something in the Machine* infrastructure
does not understand terminators which define registers. Without the ability
to use the block-placement pass, etc. this causes performance regressions (and
so is turned off by default). Turning off the analysis turns off the problems
with the Machine* infrastructure.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158206 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCInstrInfo.cpp
lib/Target/PowerPC/PPCTargetMachine.cpp
test/CodeGen/PowerPC/ctrloop-reg.ll
test/CodeGen/PowerPC/ctrloops.ll