[LLVMdev] Porting to System z

Neale Ferguson neale at sinenomine.net
Tue Apr 7 13:46:15 PDT 2009

It's used throughout the TableGen code for doing things such as isInteger(),

On 4/7/09 4:40 PM, "Florian Weimer" <fw at deneb.enyo.de> wrote:

> * Neale Ferguson:
>> So the SimpleTy variable which is a SimpleTypeValue is behaving strangely.
>> It's found within a private definition:
>>     union {
>>       uintptr_t V;
>>       SimpleValueType SimpleTy;
>>       const Type *LLVMTy;
>>     };
>> The comment in the above fix indicates that in this 64-bit system the enum
>> needs to be 64-bits is correct, but the fix doesn't seem to do it.
> What's the union being used for?  I wouldn't be surprised if this is
> pushing into undefined territory.

More information about the llvm-dev mailing list