summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Support
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-10-21 08:57:37 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-10-21 08:57:37 +0000
commit8b9737cb5419e6be32732d23db74d2ebaa3552e4 (patch)
treea4da876234f5edf888456779fd4a99e57782860c /llvm/lib/Support
parentddfeaafdfbff49557f8b8d3221cd997db1db7452 (diff)
downloadbcm5719-llvm-8b9737cb5419e6be32732d23db74d2ebaa3552e4.tar.gz
bcm5719-llvm-8b9737cb5419e6be32732d23db74d2ebaa3552e4.zip
Add loop aligning to MachineBlockPlacement based on review discussion so
it's a bit more plausible to use this instead of CodePlacementOpt. The code for this was shamelessly stolen from CodePlacementOpt, and then trimmed down a bit. There doesn't seem to be much utility in returning true/false from this pass as we may or may not have rewritten all of the blocks. Also, the statistic of counting how many loops were aligned doesn't seem terribly important so I removed it. If folks would like it to be included, I'm happy to add it back. This was probably the most egregious of the missing features, and now I'm going to start gathering some performance numbers and looking at specific loop structures that have different layout between the two. Test is updated to include both basic loop alignment and nested loop alignment. llvm-svn: 142645
Diffstat (limited to 'llvm/lib/Support')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud