aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2012-08-08 00:00:26 +0000
committerDan Gohman <gohman@apple.com>2012-08-08 00:00:26 +0000
commitb94873600249aaa6486f6bc6bdba7e9b19c1ecae (patch)
tree67e62918207272e168134bffee775e3cf1ba7428 /llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp
parent285a7cc721c84fce7c7b4e9f33a1bd77d6e4f0f1 (diff)
downloadllvm-b94873600249aaa6486f6bc6bdba7e9b19c1ecae.zip
llvm-b94873600249aaa6486f6bc6bdba7e9b19c1ecae.tar.gz
llvm-b94873600249aaa6486f6bc6bdba7e9b19c1ecae.tar.bz2
Avoid recomputing the unique exit blocks and their insert points when doing
multiple scalar promotions on a single loop. This also has the effect of preserving the order of stores sunk out of loops, which is aesthetically pleasing, and it happens to fix the testcase in PR13542, though it doesn't fix the underlying problem. llvm-svn: 161459
Diffstat (limited to 'llvm/lib/CodeGen/MachineBranchProbabilityInfo.cpp')
0 files changed, 0 insertions, 0 deletions