[llvm-commits] [Review request] Instcombine: extractvalue from load --> load from gep

Frits van Bommel fvbommel at gmail.com
Sat Nov 27 16:12:00 PST 2010


The attached patch teaches -instcombine to shrink a non-volatile load
if the only user is an extractvalue instruction.
I also corrected a comment that claimed there was nothing left to do
for extractvalue instructions :).

Okay to commit?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 006-instcombine-extractvalue-load.patch
Type: text/x-patch
Size: 2067 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20101128/24cc204c/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 007-instcombine-extractvalue-load-test.patch
Type: text/x-patch
Size: 2574 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20101128/24cc204c/attachment-0001.bin>


More information about the llvm-commits mailing list