It's not safe to tell SplitCriticalEdge to merge identical edges. It may delete the...
authorEvan Cheng <evan.cheng@apple.com>
Tue, 30 Oct 2007 22:27:26 +0000 (22:27 +0000)
committerEvan Cheng <evan.cheng@apple.com>
Tue, 30 Oct 2007 22:27:26 +0000 (22:27 +0000)
commit8392772727ed9105c92fe4514d53dab74c333edc
treeb14ef916cdbe3ed2b55dc517b0a2ce9d903e216b
parentc784208a733689dbc04ad5d1c36d23eb816746e1
It's not safe to tell SplitCriticalEdge to merge identical edges. It may delete the phi instruction that's being processed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43524 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/LoopStrengthReduce.cpp
test/CodeGen/X86/2007-10-30-LSRCrash.ll [new file with mode: 0644]