[LLVMdev] Porting to System z
Florian Weimer
fw at deneb.enyo.de
Tue Apr 7 13:40:27 PDT 2009
* 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