diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2007-01-20 23:35:48 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2007-01-20 23:35:48 +0000 |
| commit | 9a4bed06dd0a9e95a893d27b01fe8d9d3b31cbb1 (patch) | |
| tree | b42dfe128f330e9944a78f370f3bffbb53b331e4 /llvm/lib/Analysis | |
| parent | 2239163496f18d07301cfa738c2f76459ae695de (diff) | |
| download | bcm5719-llvm-9a4bed06dd0a9e95a893d27b01fe8d9d3b31cbb1.tar.gz bcm5719-llvm-9a4bed06dd0a9e95a893d27b01fe8d9d3b31cbb1.zip | |
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.
llvm-svn: 33414
Diffstat (limited to 'llvm/lib/Analysis')
0 files changed, 0 insertions, 0 deletions

