[llvm-commits] [llvm] r114488 - /llvm/trunk/lib/Transforms/Scalar/CodeGenPrepare.cpp
Bob Wilson
bob.wilson at apple.com
Wed Sep 22 11:49:02 PDT 2010
On Sep 21, 2010, at 11:44 PM, Duncan Sands wrote:
> Hi Bob,
>
>> Move a sign-extend or a zero-extend of a load to the same basic block as the
>> load when the type of the load is not legal, even if truncates are not free.
>> The load is going to be legalized to an extending load anyway.
>
> an extending load is not used for illegal integer types that are too large
> (eg: i512). Instead a pair of half-sized loads is used.
I committed a fix in svn 114568. It now applies when the extended type is legal but the load is not.
More information about the llvm-commits
mailing list