llvm-6502/lib/Transforms/InstCombine
Chris Lattner 830f3f205d fix rdar://7590304, an infinite loop in instcombine. In the invoke
case, instcombine can't zap the invoke for fear of changing the CFG.
However, we have to do something to prevent the next iteration of
instcombine from inserting another store -> undef before the invoke
thereby getting into infinite iteration between dead store elim and
store insertion.

Just zap the callee to null, which will prevent the next iteration
from doing anything.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94985 91177308-0d34-0410-b5e6-96231b3b80d8
2010-02-01 18:04:58 +00:00
..
CMakeLists.txt split and/or/xor out into one overly-large (2000LOC) file. However, I think 2010-01-05 07:50:36 +00:00
InstCombine.h inline and remove the rest of commonIntCastTransforms. 2010-01-10 01:00:46 +00:00
InstCombineAddSub.cpp Simplify/generalize the xor+add->sign-extend instcombine. 2010-01-31 04:29:12 +00:00
InstCombineAndOrXor.cpp change the canonical form of "cond ? -1 : 0" to be 2010-01-24 00:09:49 +00:00
InstCombineCalls.cpp fix rdar://7590304, an infinite loop in instcombine. In the invoke 2010-02-01 18:04:58 +00:00
InstCombineCasts.cpp change the canonical form of "cond ? -1 : 0" to be 2010-01-24 00:09:49 +00:00
InstCombineCompares.cpp tidy up some stuff duncan pointed out. 2010-01-08 17:48:19 +00:00
InstCombineLoadStoreAlloca.cpp Check alignment of loads when deciding whether it is safe to execute them 2010-01-30 04:42:39 +00:00
InstCombineMulDivRem.cpp Fix comment. 2010-01-17 06:49:03 +00:00
InstCombinePHI.cpp Add newline at EOF. 2010-01-05 13:32:48 +00:00
InstCombineSelect.cpp change the canonical form of "cond ? -1 : 0" to be 2010-01-24 00:09:49 +00:00
InstCombineShifts.cpp fix a potential overflow issue Eli pointed out. 2010-01-23 23:31:46 +00:00
InstCombineSimplifyDemanded.cpp Having RHSKnownZero and RHSKnownOne be alternative names for KnownZero and KnownOne 2010-01-29 06:18:46 +00:00
InstCombineVectorOps.cpp reduce indentation 2010-01-05 05:42:08 +00:00
InstCombineWorklist.h remove a ton of unneeded LLVMContext stuff. 2010-01-04 07:02:48 +00:00
InstructionCombining.cpp teach ComputeNumSignBits to look through PHI nodes. 2010-01-07 23:44:37 +00:00
Makefile make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. 2010-01-24 20:43:08 +00:00