llvm-6502/test/Transforms
Chris Lattner 50fb46983c Teach loop rotate to hoist trivially invariant instructions
in the duplicated block instead of duplicating them.  

Duplicating them into the end of the loop and the preheader 
means that we got a phi node in the header of the loop, 
which prevented LICM from hoisting them.  GVN would
usually come around later and merge the duplicated 
instructions so we'd get reasonable output... except that
anything dependent on the shoulda-been-hoisted value can't
be hoisted.  In PR5319 (which this fixes), a memory value
didn't get promoted.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113134 91177308-0d34-0410-b5e6-96231b3b80d8
2010-09-06 01:10:22 +00:00
..
ADCE
ArgumentPromotion
BlockPlacement
BranchFolding
CodeExtractor
CodeGenPrepare
ConstantMerge
ConstProp remove some noise from tests. 2010-09-02 22:35:33 +00:00
CorrelatedValuePropagation Propagate non-local comparisons. Fixes PR1757. 2010-09-03 22:47:08 +00:00
DeadArgElim
DeadStoreElimination
FunctionAttrs
GlobalDCE
GlobalOpt fix PR8063, a crash in globalopt in the malloc analysis code. 2010-09-05 17:20:46 +00:00
GVN Correct bogus module triple specifications. 2010-08-30 10:48:29 +00:00
IndVarSimplify more test cleanup 2010-09-02 22:38:56 +00:00
Inline
InstCombine Add a test for PR4413, which was apparently fixed at some point in the past. 2010-09-03 18:33:08 +00:00
Internalize
IPConstantProp more test cleanup 2010-09-02 22:38:56 +00:00
JumpThreading Merge 2010-08-31-InfiniteRecursion.ll into crash.ll. 2010-08-31 20:27:17 +00:00
LCSSA
LICM fix a bug in my licm rewrite when a load from the promoted memory 2010-09-04 00:12:30 +00:00
LoopDeletion
LoopIndexSplit
LoopRotate Teach loop rotate to hoist trivially invariant instructions 2010-09-06 01:10:22 +00:00
LoopSimplify Fix LoopSimplify to notify ScalarEvolution when splitting a loop backedge 2010-09-04 02:42:48 +00:00
LoopStrengthReduce Correct bogus module triple specifications. 2010-08-30 10:48:29 +00:00
LoopUnroll
LoopUnswitch Fix loop unswitching's assumption that a code path which either 2010-09-01 21:46:45 +00:00
LowerAtomic
LowerInvoke
LowerSetJmp
LowerSwitch
Mem2Reg
MemCpyOpt
MergeFunc
PartialSpecialize
PruneEH
Reassociate
ScalarRepl deepen my MMX/SRoA hack to avoid hurting non-x86 codegen. 2010-09-01 23:09:27 +00:00
SCCP
SimplifyCFG Correct bogus module triple specifications. 2010-08-30 10:48:29 +00:00
SimplifyLibCalls
Sink
SRETPromotion
StripSymbols
TailCallElim merge two tests. 2010-08-31 18:44:03 +00:00
TailDup The output of opt -stats must be sent to stderr. Patch by NAKAMURA Takumi! 2010-09-01 18:32:56 +00:00