llvm-6502/test/Transforms
Nick Lewycky d5061a9268 Fix logical error when detecting lifetime intrinsics.
Don't replace a gep/bitcast with 'undef' because that will form a "free(undef)"
which in turn means "unreachable". What we wanted was a no-op. Instead, analyze
the whole tree and look for all the instructions we need to delete first, then
delete them second, not relying on the use_list to stay consistent.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@136752 91177308-0d34-0410-b5e6-96231b3b80d8
2011-08-03 00:43:35 +00:00
..
ADCE
ArgumentPromotion
BlockPlacement
BranchFolding
CodeExtractor
CodeGenPrepare
ConstantMerge Teach the ConstantMerge pass about alignment. Fixes PR10514! 2011-07-27 19:47:34 +00:00
ConstProp Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
CorrelatedValuePropagation
DeadArgElim Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
DeadStoreElimination
EarlyCSE
FunctionAttrs
GlobalDCE
GlobalOpt Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
GVN Added test cases for GVN signed intrinsics recognition, r134777. 2011-07-09 00:36:54 +00:00
IndVarSimplify indvars: Added getInsertPointForUses to find a valid place to truncate the IV. 2011-07-20 05:32:06 +00:00
Inline
InstCombine Fix logical error when detecting lifetime intrinsics. 2011-08-03 00:43:35 +00:00
InstSimplify Remove bogus test: for all possible inputs of %X, the 'sub nsw' is guaranteed 2011-07-19 08:22:57 +00:00
Internalize
IPConstantProp
JumpThreading
LCSSA
LICM Bring LICM into compliance with the new "Memory Model for Concurrent Operations" in LangRef. 2011-07-20 21:37:47 +00:00
LoopDeletion Add a reduced test case for the buildbot failure (clang self-hosted 2011-06-21 08:33:49 +00:00
LoopIdiom A real testcase for r135286. 2011-07-15 20:58:38 +00:00
LoopRotate
LoopSimplify
LoopStrengthReduce LSR, correct fix for rdar://9786536. Silly casting bug. 2011-07-21 01:45:54 +00:00
LoopUnroll
LoopUnswitch
LowerAtomic
LowerExpectIntrinsic Introduce "expect" intrinsic instructions. 2011-07-06 18:22:43 +00:00
LowerInvoke
LowerSetJmp Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
LowerSwitch
Mem2Reg
MemCpyOpt Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
MergeFunc
ObjCARC Move the last uses of RetainFunc etc. over to using getRetainCallee() etc. 2011-07-22 22:29:21 +00:00
PhaseOrdering
PruneEH
Reassociate Remove empty test. 2011-08-02 02:47:45 +00:00
ScalarRepl Finish adding support for lifetime intrinsics to SROA. Fixes PR10121! 2011-07-25 23:14:22 +00:00
SCCP Land the long talked about "type system rewrite" patch. This 2011-07-09 17:41:24 +00:00
SimplifyCFG more tests not making the jump into the brave new world. 2011-07-09 16:57:10 +00:00
SimplifyLibCalls
Sink
StripSymbols
TailCallElim
TailDup