[clang] [llvm] [PowerPC] Take ABI into account for data layout (PR #149725)

Jens Reidel via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 20 18:38:34 PDT 2025


Gelbpunkt wrote:

> This one claims to support old processors too, so seems like also a case of "loosened" ELFv2?

Correct, it isn't strictly ELFv2.

> I'm just concerned about what downstream projects seem to be doing with the term `elfv2`...

Fair point, ideally I'd like both the "proper" ELFv2 with BE to have its target triple and the "loosened" ELFv2 to have one. Currently, LLVM will enable the VSX and POWER8-specific parts of the ABI based on the endianess or CPU, not the ABI. That should probably be changed then? I could do that in a follow-up PR.

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


More information about the cfe-commits mailing list