commit | 140f4a315b4b1bb5402a78b37756aa6c212ed390 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sun Dec 19 03:02:34 2010 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sun Dec 19 03:02:34 2010 +0000 |
tree | ff9a0189aba69cd9703e3570b05bb729538de773 | |
parent | 78d0094e4c91cde903b08fac24b76043ab654967 [diff] |
first step to fixing PR8642: don't fold away empty basic blocks which have trapping constant exprs in them due to PHI nodes. Eliminating them can cause the constant expr to be evalutated on new paths if the input edges are critical. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122164 91177308-0d34-0410-b5e6-96231b3b80d8