[clang] [Clang] Verify data layout consistency (PR #144720)

John McCall via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 18 22:47:46 PDT 2025


rjmccall wrote:

So, devil's advocate: do we actually care about IR data layout alignments? Clang should be putting explicit alignments on everything in the IR. And, I mean, I can certainly imagine that a target might end up in an impossible situation for terrible historical reasons, because e.g. it has an `int128_t` with 8-byte alignment but an `__int128_t` with 16-byte alignment.

https://github.com/llvm/llvm-project/pull/144720


More information about the cfe-commits mailing list