[libclc] [libclc] Suppress AMDGCN code object version for library code (PR #174412)
Joseph Huber via cfe-commits
cfe-commits at lists.llvm.org
Mon Jan 5 07:27:35 PST 2026
jhuber6 wrote:
> Ideally we would be able to base this on the triple (failing total removal of the flag). It's not great to spread the clang internal flags around, but given this is an internal project anyway it's tolerable and we do it for other flags already
We expose `-mcode-object-version=N` but for there was a decision to suppress `none` into the compiler internals. I'm assuming that's because only internal runtime libraries are supposed to use it?
https://github.com/llvm/llvm-project/pull/174412
More information about the cfe-commits
mailing list