[clang] [llvm] Stop using spir_kernel calling convention on non-SPIR targets. (PR #191090)
Matt Arsenault via cfe-commits
cfe-commits at lists.llvm.org
Thu Apr 9 01:56:39 PDT 2026
================
@@ -86,6 +85,7 @@ class NVPTXTargetCodeGenInfo : public TargetCodeGenInfo {
unsigned getDeviceKernelCallingConv() const override {
return llvm::CallingConv::PTX_Kernel;
}
+ bool supportsKernelLowering() const override { return true; }
----------------
arsenm wrote:
I don't understand the point of this when getDeviceKernelCallingConv already exists
https://github.com/llvm/llvm-project/pull/191090
More information about the cfe-commits
mailing list