[cfe-commits] r170125 - /cfe/trunk/lib/Basic/Targets.cpp

Hi,
Removing the data layout causes another issue:
In SPIR we know the size and alignment of everything, but except the data layout string, I see no other way to update this information in the DataLayout class. This way we get a failure when trying to build the layout of a struct that contains a pointer in 32 bits.
In DataLayout.cpp, the default pointer size and alignment is 8 bytes, which is clearly not right for the SPIR32 target.

Thanks
   Guy Benyei