Displaying 1 result from an estimated 1 matches for "innerconstant".
2008 Aug 14
1
[LLVMdev] Proposed modification of AsmPrinter::EmitConstantValueOnly()
I have a problem (bug 2672) in which I have a static initializer that
contains a GEP. The GEP itself has arguments that do casts and another GEP.
This fails in EmitConstantValueOnly() because the GEP arguments are not
recognized as constant (link time) expressions.
It looks to me that a proper solution could be to make
EmitConstantValueOnly() return its constant value and call it for each