[clang] [clang][SPIR-V] Add sse/sse2 for x86-64 MSVC hosts (PR #227665)

via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 2 11:47:11 PDT 2026


================
@@ -185,9 +185,20 @@ class LLVM_LIBRARY_VISIBILITY BaseSPIRTargetInfo : public TargetInfo {
   }
 
   CallingConvCheckResult checkCallingConvention(CallingConv CC) const override {
-    return (CC == CC_C || CC == CC_DeviceKernel) ? CCCR_OK : CCCR_Warning;
+    switch (CC) {
+    case CC_C:
+    case CC_DeviceKernel:
+      return CCCR_OK;
+    default:
+      return CCCR_Warning;
+    }
----------------
schittir wrote:

Done.

https://github.com/llvm/llvm-project/pull/227665


More information about the cfe-commits mailing list