Skip to content
Commit 9a4bed06 authored by Reid Spencer's avatar Reid Spencer
Browse files

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
parent 22391634
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment