[LLVMdev] (GEP) Index validity
Chris Lattner
clattner at apple.com
Tue Jul 15 09:51:01 PDT 2008
On Jul 15, 2008, at 3:58 AM, Matthijs Kooijman wrote:
> Hi Chris & Evan,
>
> On Sun, Jul 13, 2008 at 03:34:03PM -0700, Chris Lattner wrote:
>> 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?
> The current code only allows 32 bit constants. My patch allows any
> width
> constant to be used, but it seems Evan doesn't agree with that.
Hey Matthijs,
I understand what you're trying to do. Why do you want this? What
value does it add? Do you need a struct with more than 2^32 fields?
-Chris
More information about the llvm-dev
mailing list