[llvm-commits] [llvm] r61915 - in /llvm/trunk: lib/Transforms/Scalar/ScalarReplAggregates.cpp test/Transforms/ScalarRepl/copy-aggregate.ll

Duncan Sands baldrick at free.fr
Thu Jan 8 05:28:47 PST 2009


Hi Chris,

> +/// RewriteLoadUserOfWholeAlloca - We found an load of the entire allocation to
> +/// an integer.  Load the individual pieces to form the aggregate value.

what if the type has alignment or other padding?  Probably you should just not bother 
if HasPadding returns true.

Ciao,

Duncan.



More information about the llvm-commits mailing list