[llvm-commits] [llvm] r114488 - /llvm/trunk/lib/Transforms/Scalar/CodeGenPrepare.cpp

Duncan Sands baldrick at free.fr
Tue Sep 21 23:44:20 PDT 2010


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.

Ciao,

Duncan.



More information about the llvm-commits mailing list