Do not pass an invalid domtree to SimplifyInstruction from
authorPeter Collingbourne <peter@pcc.me.uk>
Sun, 20 May 2012 01:32:09 +0000 (01:32 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Sun, 20 May 2012 01:32:09 +0000 (01:32 +0000)
commitfcaf5fa89cafe66d2659b711e7c190f3851f4ac5
tree8264fab4fcabc537e109f599772ea2af567f8564
parenta991ea5f7f2df661dc1ad7bd230d3a401dfb6411
Do not pass an invalid domtree to SimplifyInstruction from
LoopUnswitch.  Fixes PR12887.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@157140 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopUnswitch.cpp
test/Transforms/LoopUnswitch/2012-05-20-Phi.ll [new file with mode: 0644]