commit | 9200e81a1828f7d3aa59a48c52317e1beeeac0b1 | [log] [tgz] |
---|---|---|
author | Owen Anderson <resistor@mac.com> | Wed Aug 06 23:16:52 2008 +0000 |
committer | Owen Anderson <resistor@mac.com> | Wed Aug 06 23:16:52 2008 +0000 |
tree | f6ed06ea65730d5f57e3b613bb8cabcb3df0e3b6 | |
parent | 883771f86a111c43ce7c30085a1f4820b66f5712 [diff] |
SDISel's constant branch folding can fold away self-loops, which doesn't result in any dead blocks, but rather an incorrect phi input. Add code to UnreachableMachineBlockElim to get rid of these entries. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@54432 91177308-0d34-0410-b5e6-96231b3b80d8