[clang] [llvm] Finish deleting the le32/le64 targets (PR #98497)
Eli Friedman via cfe-commits
cfe-commits at lists.llvm.org
Mon Jul 15 16:01:30 PDT 2024
efriedma-quic wrote:
There is no such thing as "generic" LLVM IR, in general: so many target-specific aspects of C have to be directly encoded into the IR, so there's no way to actually make it generic. In this respect, the "le32/le64" targets aren't really any more generic than any other target; they encode their own specific assumptions, and they're not ABI-compatible with code generated for any other target. The closest you can get to being "generic" is picking a target that's intended to be compiled to other targets, like SPIRV/wasm/etc.
So the question is, why specifically use the PNaCl targets, instead of just using the existing Arm or wasm targets?
https://github.com/llvm/llvm-project/pull/98497
More information about the cfe-commits
mailing list