fix PR5827 by disabling the phi slicing transformation in a case
authorChris Lattner <sabre@nondot.org>
Sat, 19 Dec 2009 07:01:15 +0000 (07:01 +0000)
committerChris Lattner <sabre@nondot.org>
Sat, 19 Dec 2009 07:01:15 +0000 (07:01 +0000)
commit0ebc6ce974287498460a5bf66f2620f5dbc5e08c
treeb909d6c4e17c08a043687200116de86190d93617
parente88728d757d3090f1c0885b78d3675a7e143a2f9
fix PR5827 by disabling the phi slicing transformation in a case
where instcombine would have to split a critical edge due to a
phi node of an invoke.  Since instcombine can't change the CFG,
it has to bail out from doing the transformation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@91763 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Transforms/Scalar/InstructionCombining.cpp
test/Transforms/InstCombine/crash.ll