================
@@ -86,6 +85,7 @@ class NVPTXTargetCodeGenInfo : public TargetCodeGenInfo {
   unsigned getDeviceKernelCallingConv() const override {
     return llvm::CallingConv::PTX_Kernel;
   }
+  bool supportsKernelLowering() const override { return true; }
----------------
sarnex wrote:

Yeah I agree, I would expect we can just check `getDeviceKernelCallingConv == 
SPIR_KERNEL` in the modified `if` check in CGCall.cpp in this PR

https://github.com/llvm/llvm-project/pull/191090
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to