llvm/lib/Transforms/Scalar
Reid Spencer 67f827ce5b Revise the store V, (cast P) -> store (cast V) -> P transform.
We only want to do this if the src and destination types have the same
bit width. This patch uses TargetData::getTypeSizeInBits() instead of
making a special case for integer types and avoiding the transform if
they don't match.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33414 91177308-0d34-0410-b5e6-96231b3b80d8
2007-01-20 23:35:48 +00:00
..
ADCE.cpp Switch over Transforms/Scalar to use the STATISTIC macro. For each statistic 2006-12-19 21:40:18 +00:00
BasicBlockPlacement.cpp Switch over Transforms/Scalar to use the STATISTIC macro. For each statistic 2006-12-19 21:40:18 +00:00
CondPropagate.cpp eliminate redundant check 2007-01-12 18:35:11 +00:00
ConstantProp.cpp Switch over Transforms/Scalar to use the STATISTIC macro. For each statistic 2006-12-19 21:40:18 +00:00
CorrelatedExprs.cpp For PR1043: 2007-01-19 21:13:56 +00:00
DCE.cpp Switch over Transforms/Scalar to use the STATISTIC macro. For each statistic 2006-12-19 21:40:18 +00:00
DeadStoreElimination.cpp Switch over Transforms/Scalar to use the STATISTIC macro. For each statistic 2006-12-19 21:40:18 +00:00
GCSE.cpp Switch over Transforms/Scalar to use the STATISTIC macro. For each statistic 2006-12-19 21:40:18 +00:00
IndVarSimplify.cpp rename Type::isIntegral to Type::isInteger, eliminating the old Type::isInteger. 2007-01-15 02:27:26 +00:00
InstructionCombining.cpp Revise the store V, (cast P) -> store (cast V) -> P transform. 2007-01-20 23:35:48 +00:00
LICM.cpp For PR950: 2006-12-23 06:05:41 +00:00
LoopStrengthReduce.cpp rename Type::isIntegral to Type::isInteger, eliminating the old Type::isInteger. 2007-01-15 02:27:26 +00:00
LoopUnroll.cpp Switch over Transforms/Scalar to use the STATISTIC macro. For each statistic 2006-12-19 21:40:18 +00:00
LoopUnswitch.cpp For PR1043: 2007-01-19 21:13:56 +00:00
LowerGC.cpp relax some types 2007-01-07 06:58:05 +00:00
LowerPacked.cpp For PR950: 2006-12-31 05:48:39 +00:00
Makefile DONT_BUILD_RELINKED is gone and implied by BUILD_ARCHIVE now 2005-10-24 02:26:13 +00:00
PredicateSimplifier.cpp For PR1094: 2007-01-17 02:23:37 +00:00
Reassociate.cpp rename Type::isIntegral to Type::isInteger, eliminating the old Type::isInteger. 2007-01-15 02:27:26 +00:00
Reg2Mem.cpp Switch over Transforms/Scalar to use the STATISTIC macro. For each statistic 2006-12-19 21:40:18 +00:00
ScalarReplAggregates.cpp For PR1043: 2007-01-19 21:13:56 +00:00
SCCP.cpp Fix a minor bug handling constant exprs, introduced by a recent patch. 2007-01-13 00:42:58 +00:00
SimplifyCFG.cpp Switch over Transforms/Scalar to use the STATISTIC macro. For each statistic 2006-12-19 21:40:18 +00:00
TailDuplication.cpp Switch over Transforms/Scalar to use the STATISTIC macro. For each statistic 2006-12-19 21:40:18 +00:00
TailRecursionElimination.cpp Switch over Transforms/Scalar to use the STATISTIC macro. For each statistic 2006-12-19 21:40:18 +00:00