aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/ScalarEvolutionExpander.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-20 23:35:48 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-20 23:35:48 +0000
commit67f827ce5ba1296db9051892b4a8e10920053933 (patch)
tree366cb4cb66ff1ac961809505d9e47f8108a21c01 /lib/Analysis/ScalarEvolutionExpander.cpp
parent7c2924367087caa738d1c6349d04a4645c6c26fa (diff)
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
Diffstat (limited to 'lib/Analysis/ScalarEvolutionExpander.cpp')
0 files changed, 0 insertions, 0 deletions