Fix bug: test/Regression/Transforms/InstCombine/2002-05-14-TouchDeletedInst.ll
authorChris Lattner <sabre@nondot.org>
Tue, 14 May 2002 15:24:07 +0000 (15:24 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 14 May 2002 15:24:07 +0000 (15:24 +0000)
commitb3bc8fa75508ae996dbc71283186502f2c43f47c
tree63fa804685b24c895c9d0aa703d369ef6b890fdf
parent0c131b6adf3fd50f7e92e72e69b4e9fa5b2b0690
Fix bug: test/Regression/Transforms/InstCombine/2002-05-14-TouchDeletedInst.ll

"This testcase caused instcombine to fail because it got the same instruction on
it's worklist more than once (which is ok), but then deleted the instruction.
Since the inst stayed on the worklist, as soon as it came back up to be
processed, bad things happened, and opt asserted."

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