[LLVMdev] [RFC] Removing FCA constants from the IR

Chris Lattner clattner at apple.com
Mon Feb 3 07:31:11 PST 2014


On Feb 3, 2014, at 2:07 AM, Chandler Carruth <chandlerc at google.com> wrote:

> Bleh.
> 
> Well, just to add a grain of salt, doing this won't *actually* simplify anything very much. The reality is that ConstantExpr's are much harder to handle than FCA Constants. =/
> 
> So, maybe this would be a small step in that direction, but that's about it.

I don’t see this as a good direction.  We still need the ability to initialize global variables of FCA type.

If you’re interested in simplifying this space, I think that this would be a much more fruitful direction:
http://llvm.org/bugs/show_bug.cgi?id=10368

Constant expressions that can trap don’t make sense, for example.

-Chris



More information about the llvm-dev mailing list