[llvm-commits] [Review request] Constant folding extractvalue instructions.
Frits van Bommel
fvbommel at gmail.com
Sat Nov 27 12:58:42 PST 2010
Similar to the patch I just submitted for insertvalue constant
folding, this one implements constant folding for extractvalue
instructions.
It's a lot shorter because it doesn't need to construct new constants
as much (only undef/zeroinitializer ones, no
ConstantStruct/ConstantArray instances).
Since the patch with the shorter filename won't apply unless you've
applied the insertvalue one first, I also added a version that applies
to a clean trunk :).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 003-ConstantFold-ExtractValue.patch
Type: text/x-patch
Size: 1623 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20101127/ee1e3e32/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 004-constprop-extractvalue-test.patch
Type: text/x-patch
Size: 1756 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20101127/ee1e3e32/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 003-ConstantFold-ExtractValue-vs-clean-trunk.patch
Type: text/x-patch
Size: 1592 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20101127/ee1e3e32/attachment-0002.bin>
More information about the llvm-commits
mailing list