commit | 49d7f8d341a7b4137c674ce0f08f5b18e8195f4a | [log] [tgz] |
---|---|---|
author | Dan Gohman <gohman@apple.com> | Thu Feb 18 21:25:53 2010 +0000 |
committer | Dan Gohman <gohman@apple.com> | Thu Feb 18 21:25:53 2010 +0000 |
tree | 267e9a0cd03db18189b5212e93b787b5df0c04a4 | |
parent | 0ce7b1255c86dcfdfdd4dfad9ea625de12657944 [diff] |
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