llvm-6502/test/Transforms
Chris Lattner c581acbbba Fix a pretty serious misfeature of the inliner: if it inlines a function
with multiple return values it inserts a PHI to merge them all together.
However, if the return values are all the same, it ends up with a pointless
PHI and this pointless PHI happens to really block SRoA from happening in 
at least a silly C++ example written by Doug, but probably others.  This 
fixes rdar://7339069.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@85206 91177308-0d34-0410-b5e6-96231b3b80d8
2009-10-27 05:39:41 +00:00
..
ADCE
ArgumentPromotion
BlockPlacement
BranchFolding
CodeExtractor
CodeGenPrepare
CondProp
ConstantMerge
ConstProp Convert a few tests to FileCheck for PR5307. 2009-10-26 22:52:03 +00:00
DeadArgElim
DeadStoreElimination
FunctionAttrs
GlobalDCE
GlobalOpt Autoupgrade malloc insts to malloc calls. 2009-10-17 00:00:19 +00:00
GVN Check that GVN performs this transform even if the calls 2009-10-16 12:18:23 +00:00
IndVarSimplify
Inline Fix a pretty serious misfeature of the inliner: if it inlines a function 2009-10-27 05:39:41 +00:00
InstCombine Convert a few tests to FileCheck for PR5307. 2009-10-26 22:52:03 +00:00
Internalize
IPConstantProp
JumpThreading Make these tests more interesting by using 2009-10-24 23:23:04 +00:00
LCSSA
LICM Convert a few tests to FileCheck for PR5307. 2009-10-26 22:52:03 +00:00
LoopDeletion Make LoopDeletion check the maximum backedge taken count, rather than the 2009-10-23 17:10:01 +00:00
LoopIndexSplit
LoopRotate Make these tests more interesting by using 2009-10-24 23:23:04 +00:00
LoopSimplify Make these tests more interesting by using 2009-10-24 23:23:04 +00:00
LoopStrengthReduce
LoopUnroll
LoopUnswitch
LowerInvoke
LowerSetJmp
LowerSwitch
Mem2Reg
MemCpyOpt
MergeFunc
PruneEH
Reassociate
ScalarRepl
SCCP add a real testcase for PR4313 2009-10-20 21:04:26 +00:00
SimplifyCFG change simplifycfg to not duplicate 'unwind' instructions. Hopefully 2009-10-13 18:13:05 +00:00
SimplifyLibCalls
SRETPromotion
SSI
StripSymbols
TailCallElim
TailDup