[LLVMdev] (GEP) Index validity
Chris Lattner
clattner at apple.com
Sun Jul 13 15:34:03 PDT 2008
On Jul 10, 2008, at 12:26 PM, Matthijs Kooijman wrote:
> Regardless of any limitations posed by a GEP instruction, I
> argue that "i8 2" is a perfectly valid index for a struct.
Why? What value does that provide? Struct indices are not allowed to
be variable, so picking any width constant (that isn't too small) is
fine. What problem are you trying to solve here?
-Chris
More information about the llvm-dev
mailing list