3 ms·
From the release notes (https://releases.llvm.org/14.0.0/docs/ReleaseNotes.html#changes-to-the-llvm-ir https://releases.llvm.org/14.0.0/docs/ReleaseNotes.html#c
by Someone 5y ago
From the release notes (https://releases.llvm.org/14.0.0/docs/ReleaseNotes.html#changes-to-the-llvm-ir https://releases.llvm.org/14.0.0/docs/ReleaseNotes.html#chan...):
“The maximum allowed alignment has been increased from 2^29 to 2^32”
Does that mean you can now align structure fields to 4 gigabyte boundaries, while previously, that was ‘only’ 512 megabytes? If so, who needs that?
- zmodem 5y agoV8 uses __builtin_assume_aligned to tell the compiler that the base address it uses for pointer compression is 4GB-aligned: https://source.chromium.org/chromium/chromium/src/+/main:v8/src/common/ptr-compr-inl.h;l=25 https://source.chromium.org/chromium/chromium/src/+/main:v8/...