[llvm-commits] [Review request] Constant folding insertvalue instructions.

Frits van Bommel fvbommel at gmail.com
Sat Nov 27 11:43:16 PST 2010


On Sat, Nov 27, 2010 at 8:24 PM, Frits van Bommel <fvbommel at gmail.com> wrote:
> The attached patch implements constant folding for insertvalue instructions.

Oops, I just noticed that two of those dyn_cast<Constant>s should just
be cast<Constant>s because ConstantFoldInstruction() already checked
that all operands constants. Updated patch attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 001-ConstantFold-InsertValue-v2.patch
Type: text/x-patch
Size: 4829 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20101127/b5090747/attachment.bin>


More information about the llvm-commits mailing list