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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to