llvm-6502/test/Transforms
Duncan Sands 3cb3650a27 Change uses of getTypeSize to getABITypeSize, getTypeStoreSize
or getTypeSizeInBits as appropriate in ScalarReplAggregates.
The right change to make was not always obvious, so it would
be good to have an sroa guru review this.  While there I noticed
some bugs, and fixed them: (1) arrays of x86 long double have
holes due to alignment padding, but this wasn't being spotted
by HasStructPadding (renamed to HasPadding).  The same goes
for arrays of oddly sized ints.  Vectors also suffer from this,
in fact the problem for vectors is much worse because basic
vector assumptions seem to be broken by vectors of type with
alignment padding.   I didn't try to fix any of these vector
problems.  (2) The code for extracting smaller integers from
larger ones (in the "int union" case) was wrong on big-endian
machines for integers with size not a multiple of 8, like i1.
Probably this is impossible to hit via llvm-gcc, but I fixed
it anyway while there and added a testcase.  I also got rid of
some trailing whitespace and changed a function name which
had an obvious typo in it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@43672 91177308-0d34-0410-b5e6-96231b3b80d8
2007-11-04 14:43:57 +00:00
..
ADCE
ArgumentPromotion
BlockPlacement
BranchFolding Don't branch fold inline asm statements. 2007-10-19 21:09:55 +00:00
CodeExtractor
CondProp
ConstantMerge
ConstProp
CorrelatedExprs
DeadArgElim Fix PR1735 and Transforms/DeadArgElim/2007-10-18-VarargsReturn.ll by 2007-10-18 18:49:29 +00:00
DeadStoreElimination Fix test/Transforms/DeadStoreElimination/PartialStore.ll, which had been 2007-11-01 05:29:16 +00:00
DecomposeMultiDimRefs
GCSE
GlobalDCE
GlobalOpt
GVN
GVNPRE
IndVarsSimplify
Inline
InstCombine Fix InstCombine/2007-10-31-StringCrash.ll by removing an obvious 2007-11-01 02:30:35 +00:00
IPConstantProp
LCSSA
LICM
LoopIndexSplit
LoopRotate
LoopSimplify Fix PR1752 and LoopSimplify/2007-10-28-InvokeCrash.ll: terminators 2007-10-29 02:30:37 +00:00
LoopStrengthReduce
LoopUnroll
LoopUnswitch
LowerInvoke
LowerSetJmp
LowerSwitch
Mem2Reg
PredicateSimplifier
PruneEH
RaiseAllocations Do not raise free() call that is called through invoke instruction. 2007-10-17 20:12:58 +00:00
Reassociate
ScalarRepl Change uses of getTypeSize to getABITypeSize, getTypeStoreSize 2007-11-04 14:43:57 +00:00
SCCP
SimplifyCFG
SimplifyLibCalls
TailCallElim
TailDup