Convert aggregate loads/stroes into scalar load/stores

deadal nix deadalnix at gmail.com
Wed Feb 11 10:44:50 PST 2015


As per title.

For reference:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20140929/238371.html

Last time, the discussion lead to the conclusion that the best way to do it
was to convert these into stores/loads of scalar representing the whole
struct or array. I finally had some time to get back to this, and here is
the result.

It comes with testing and all, and seems fairly low risk to me, as support
for aggregate load/store is almost non existent at this point.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150211/f58031d2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-a-pass-to-transform-aggregate-loads-and-stores-i.patch
Type: text/x-patch
Size: 25687 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150211/f58031d2/attachment.bin>


More information about the llvm-commits mailing list