summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Object/MachOObjectFile.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-10-25 09:47:41 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-10-25 09:47:41 +0000
commit32f46e7c0778230d84c55bdead0c0163531721ef (patch)
tree43e4ccae01cad41fb8b0aabfaa9bea03ed4098de /llvm/lib/Object/MachOObjectFile.cpp
parent805c5b92c86fc1e64b8dd26d790b293032e5cf29 (diff)
downloadbcm5719-llvm-32f46e7c0778230d84c55bdead0c0163531721ef.tar.gz
bcm5719-llvm-32f46e7c0778230d84c55bdead0c0163531721ef.zip
Fix the API usage in loop probability heuristics. It was incorrectly
classifying many edges as exiting which were in fact not. These mainly formed edges into sub-loops. It was also not correctly classifying all returning edges out of loops as leaving the loop. With this match most of the loop heuristics are more rational. Several serious regressions on loop-intesive benchmarks like perlbench's loop tests when built with -enable-block-placement are fixed by these updated heuristics. Unfortunately they in turn uncover some other regressions. There are still several improvemenst that should be made to loop heuristics including trip-count, and early back-edge management. llvm-svn: 142917
Diffstat (limited to 'llvm/lib/Object/MachOObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud