1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-25 04:02:41 +01:00
llvm-mirror/test/Transforms
Duncan Sands 662fb070a7 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.

llvm-svn: 43672
2007-11-04 14:43:57 +00:00
..
ADCE Unreachable block is not a root node in post dominator tree. 2007-07-24 01:02:25 +00:00
ArgumentPromotion
BlockPlacement
BranchFolding Don't branch fold inline asm statements. 2007-10-19 21:09:55 +00:00
CodeExtractor
CondProp Fix PR1575 and test/Transforms/CondProp/2007-08-01-InvalidRead.ll 2007-08-02 04:47:05 +00:00
ConstantMerge
ConstProp Change all floating constants that are not exactly 2007-09-05 17:50:36 +00:00
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 For PR1553: 2007-07-19 23:13:04 +00:00
GVN Convert tests using "| wc -l | grep ..." to use the count script. 2007-08-15 13:36:28 +00:00
GVNPRE For PR1553: 2007-07-19 23:13:04 +00:00
IndVarsSimplify Convert tests using "| wc -l | grep ..." to use the count script. 2007-08-15 13:36:28 +00:00
Inline
InstCombine Fix InstCombine/2007-10-31-StringCrash.ll by removing an obvious 2007-11-01 02:30:35 +00:00
IPConstantProp
LCSSA Bunch of tests to check loop passes. 2007-07-31 08:04:17 +00:00
LICM Relax unsafe use check. If there is one unconditional use inside the loop then it is safe to promote value even if there is another conditional use inside the loop. 2007-10-01 18:12:58 +00:00
LoopIndexSplit Handle multiple induction variables. 2007-09-25 18:24:48 +00:00
LoopRotate Bunch of tests to check loop passes. 2007-07-31 08:04:17 +00:00
LoopSimplify Fix PR1752 and LoopSimplify/2007-10-28-InvokeCrash.ll: terminators 2007-10-29 02:30:37 +00:00
LoopStrengthReduce Convert tests using "| wc -l | grep ..." to use the count script. 2007-08-15 13:36:28 +00:00
LoopUnroll
LoopUnswitch Fix bug in updating dominance frontier after loop 2007-10-05 22:29:34 +00:00
LowerInvoke
LowerSetJmp
LowerSwitch Convert tests using "| wc -l | grep ..." to use the count script. 2007-08-15 13:36:28 +00:00
Mem2Reg Don't promote volatile loads/stores. This is needed (for example) to handle setjmp/longjmp properly. 2007-08-26 21:43:30 +00:00
PredicateSimplifier Excuse me. 2007-09-20 00:57:00 +00:00
PruneEH
RaiseAllocations Do not raise free() call that is called through invoke instruction. 2007-10-17 20:12:58 +00:00
Reassociate Convert tests using "| wc -l | grep ..." to use the count script. 2007-08-15 13:36:28 +00:00
ScalarRepl Change uses of getTypeSize to getABITypeSize, getTypeStoreSize 2007-11-04 14:43:57 +00:00
SCCP Change all floating constants that are not exactly 2007-09-05 17:50:36 +00:00
SimplifyCFG Convert tests using "| wc -l | grep ..." to use the count script. 2007-08-15 13:36:28 +00:00
SimplifyLibCalls Convert tests using "grep -c ... | grep ..." to use the count script. 2007-08-15 13:49:33 +00:00
TailCallElim remove obsolete testcase 2007-09-10 23:51:41 +00:00
TailDup Change the x86 assembly output to use tab characters to separate the 2007-07-31 20:11:57 +00:00