Use critical anti-dep. breaking on all PPC targets, but also add other register classes.
authorHal Finkel <hfinkel@anl.gov>
Sun, 10 Jun 2012 11:15:36 +0000 (11:15 +0000)
committerHal Finkel <hfinkel@anl.gov>
Sun, 10 Jun 2012 11:15:36 +0000 (11:15 +0000)
commit01a90f4f8fc7187883377f69e2725ab5e23cc393
treee3de29f47ebdbad33498bcfc6ec28783c8358e78
parentcfd3ed9eaf8c6c62a7472706f2de25e305d1016e
Use critical anti-dep. breaking on all PPC targets, but also add other register classes.

Using 'all' instead of 'critical' would be better because it would make it easier to
satisfy the bundling constraints, but, as noted in the FIXME, that is currently not
possible with the crs.

This yields an average 1% speedup over the entire test suite (on Power 7). Largest speedups:
SingleSource/Benchmarks/Shootout-C++/moments - 40%
MultiSource/Benchmarks/McCat/03-testtrie/testtrie - 28%
SingleSource/Benchmarks/BenchmarkGame/nsieve-bits - 26%
SingleSource/Benchmarks/McGill/misr - 23%
MultiSource/Applications/JM/ldecod/ldecod - 22%

Largest slowdowns:
SingleSource/Benchmarks/Shootout-C++/matrix - -29%
SingleSource/Benchmarks/Shootout-C++/ary3 - -22%
MultiSource/Benchmarks/BitBench/uuencode/uuencode - -18%
SingleSource/Benchmarks/Shootout-C++/ary - -17%
MultiSource/Benchmarks/MiBench/automotive-bitcount/automotive-bitcount - -15%

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@158294 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/PowerPC/PPCSubtarget.cpp