llvm-mirror/test/Transforms
Nick Lewycky 82418c24b8 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.

llvm-svn: 136752
2011-08-03 00:43:35 +00:00
..
ADCE stop accepting begin/end around function bodies in the .ll parser, this isn't pascal anymore. 2011-06-17 06:42:57 +00:00
ArgumentPromotion
BlockPlacement
BranchFolding
CodeExtractor manually upgrade a bunch of tests to modern syntax, and remove some that 2011-06-17 03:14:27 +00:00
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 rip out a ton of intrinsic modernization logic from AutoUpgrade.cpp, which is 2011-06-18 06:05:24 +00:00
EarlyCSE
FunctionAttrs rip out a ton of intrinsic modernization logic from AutoUpgrade.cpp, which is 2011-06-18 06:05:24 +00:00
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 rip out a ton of intrinsic modernization logic from AutoUpgrade.cpp, which is 2011-06-18 06:05:24 +00:00
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 remove parser support for the obsolete "multiple return values" syntax, which 2011-06-17 06:49:41 +00:00
JumpThreading remove asmparser support for the old getresult instruction, which has been subsumed by extractvalue. 2011-06-17 06:57:15 +00:00
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 remove asmparser support for the old getresult instruction, which has been subsumed by extractvalue. 2011-06-17 06:57:15 +00:00
LoopSimplify manually upgrade a bunch of tests to modern syntax, and remove some that 2011-06-17 03:14:27 +00:00
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 Add test for r133251. 2011-06-18 07:23:25 +00:00
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 manually upgrade a bunch of tests to modern syntax, and remove some that 2011-06-17 03:14:27 +00:00
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 rip out a ton of intrinsic modernization logic from AutoUpgrade.cpp, which is 2011-06-18 06:05:24 +00:00
Sink
StripSymbols
TailCallElim make the asmparser reject function and type redefinitions. 'Merging' hasn't been 2011-06-17 07:06:44 +00:00
TailDup