diff options
author | Bob Wilson <bob.wilson@apple.com> | 2010-05-04 20:03:21 +0000 |
---|---|---|
committer | Bob Wilson <bob.wilson@apple.com> | 2010-05-04 20:03:21 +0000 |
commit | 34414a634e0e98cc4c2e3a9c31f0e959884736b6 (patch) | |
tree | 89abb10086a021886f7ce93bec7bb00ae0111f76 /lib/CodeGen/PHIElimination.cpp | |
parent | cd465012b3f1790496fa9fdd703a94ece56c8f2b (diff) |
Defer adding critical edges to the "toSplit" list until after checking for
indirect branches in all the predecessors. This avoids unnecessarily
splitting edges in cases where load PRE is not possible anyway.
Thanks to Jakub Staszak for pointing this out.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@103034 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/PHIElimination.cpp')
0 files changed, 0 insertions, 0 deletions