llvm-6502/test/Transforms
Andrew Trick b1eede1281 Fix the LoopUnroller to handle nontrivial loops and partial unrolling.
These are not individual bug fixes. I had to rewrite a good chunk of
the unroller to make it sane. I think it was getting lucky on trivial
completely unrolled loops with no early exits. I included some fairly
simple unit tests for partial unrolling. I didn't do much stress
testing, so it may not be perfect, but should be usable now.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137190 91177308-0d34-0410-b5e6-96231b3b80d8
2011-08-10 00:28:10 +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 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 Made SCEV's UDiv expressions more canonical. When dividing a 2011-08-06 07:00:37 +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
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 SCEV: Use AssertingVH to catch dangling BasicBlock* when passes forget 2011-08-03 18:32:11 +00:00
LoopStrengthReduce LSR, correct fix for rdar://9786536. Silly casting bug. 2011-07-21 01:45:54 +00:00
LoopUnroll Fix the LoopUnroller to handle nontrivial loops and partial unrolling. 2011-08-10 00:28:10 +00:00
LoopUnswitch
LowerAtomic
LowerExpectIntrinsic Introduce "expect" intrinsic instructions. 2011-07-06 18:22:43 +00:00
LowerInvoke
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 Tidy up these testcases to look more like real code does. 2011-08-09 00:33:11 +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 rip out a ton of intrinsic modernization logic from AutoUpgrade.cpp, which is 2011-06-18 06:05:24 +00:00
Sink
StripSymbols fix PR10286, a problem with the .ll printer handling block addresses that are out-of-scope. 2011-08-03 06:15:41 +00:00
TailCallElim
TailDup