Copy link
@magihu

magihu Aug 3, 2021

Shouldn't this be:

LongDoubleAlign = DoubleAlign = 64;   // Instead of 32!? Was it just copy&paste from PPC32TargetInfo()?

For PPC64, the xlc 13 as well as the xlc 16 (xlclang) use alignof(double)=8.
I didn't find any document that says that double is aligned to 4 bytes for PPC64 (on AIX).