Files
llvm-project/clang/lib/CodeGen/TargetInfo.cpp
Eli Friedman 5cf1a5d5ea Stop using spir_kernel calling convention on non-SPIR targets. (#191090)
This behavior traces back to fc2629a65a ,
but neither the commit message or the reviews actually justify using
this calling convention. The actual behavior which is important for that
change is the way clang calling convention lowering works.

There isn't really any other reason to use spir_kernel: every non-SPIR
target either rejects it, or treats it as the C calling convention. So
let's stop doing it.

Fixes #157028.
2026-04-10 10:16:26 -07:00

11 KiB