summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CalcSpillWeights.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-02-18 21:25:53 +0000
committerDan Gohman <gohman@apple.com>2010-02-18 21:25:53 +0000
commit49d7f8d341a7b4137c674ce0f08f5b18e8195f4a (patch)
tree267e9a0cd03db18189b5212e93b787b5df0c04a4 /lib/CodeGen/CalcSpillWeights.cpp
parent0ce7b1255c86dcfdfdd4dfad9ea625de12657944 (diff)
downloadllvm-49d7f8d341a7b4137c674ce0f08f5b18e8195f4a.tar.gz
llvm-49d7f8d341a7b4137c674ce0f08f5b18e8195f4a.tar.bz2
llvm-49d7f8d341a7b4137c674ce0f08f5b18e8195f4a.tar.xz
Make CodePlacementOpt detect special EH control flow by
checking whether AnalyzeBranch disagrees with the CFG directly, rather than looking for EH_LABEL instructions. EH_LABEL instructions aren't always at the end of the block, due to FP_REG_KILL and other things. This fixes an infinite loop compiling MultiSource/Benchmarks/Bullet. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96611 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CalcSpillWeights.cpp')
0 files changed, 0 insertions, 0 deletions