[llvm] [SPIR-V] Fix crash on get_global_id with non-integer dimension index (PR #208152)
Arseniy Obolenskiy via llvm-commits
llvm-commits at lists.llvm.org
Thu Jul 9 02:50:51 PDT 2026
aobolensk wrote:
> I get that there is not a strong enforcement of the mangling. But still, we do those assumptions all over the compiler as a consequence of the target environment.
>
> https://llvm.org/docs/SPIRVUsage.html#target-triples
>
> According to the docs we assume _"OpenCL environment or deduced by backend based on the input."_. If we assume `OpenCL`, the mangling should match that one of an OpenCL program.
I got your point. I have adjusted the func names in IR and enabled bfloat16 ext where it is required
https://github.com/llvm/llvm-project/pull/208152
More information about the llvm-commits
mailing list