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

Chris Lattner clattner at apple.com
Mon Nov 29 11:28:20 PST 2010


Looks great! Please commit,

-Chris

On Nov 27, 2010, at 2:05 PM, Frits van Bommel wrote:

> Okay, so this is a bit embarrassing. I somehow completely missed
> ConstantExpr::get{Insert,Extract}Value() methods. Instead of
> reinventing the wheel, here's a much simpler patch that uses those
> methods to add both insertvalue and extractvalue folding to
> ConstantFoldInstruction().
> 
> Okay to commit?
> <005-constfold-insert-extract-value.patch><002-constprop-insertvalue-test.patch><004-constprop-extractvalue-test.patch>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits





More information about the llvm-commits mailing list