summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/InstructionSimplify.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2012-08-07 09:45:24 +0000
committerChandler Carruth <chandlerc@gmail.com>2012-08-07 09:45:24 +0000
commit881d0a796668a98acf5140ecf7e7b8743a11ba3a (patch)
treece1fcc85a2ef540f27e9110aca81f6983144fda8 /llvm/lib/Analysis/InstructionSimplify.cpp
parentabc1e22d659e735af4946bc70762ece5391e4472 (diff)
downloadbcm5719-llvm-881d0a796668a98acf5140ecf7e7b8743a11ba3a.tar.gz
bcm5719-llvm-881d0a796668a98acf5140ecf7e7b8743a11ba3a.zip
Add a much more conservative strategy for aligning branch targets.
Previously, MBP essentially aligned every branch target it could. This bloats code quite a bit, especially non-looping code which has no real reason to prefer aligned branch targets so heavily. As Andy said in review, it's still a bit odd to do this without a real cost model, but this at least has much more plausible heuristics. Fixes PR13265. llvm-svn: 161409
Diffstat (limited to 'llvm/lib/Analysis/InstructionSimplify.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud