[clang] [clang][Sema][SYCL] Fix MSVC STL usage on AMDGPU (PR #135979)

Nick Sarnie via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 18 07:31:19 PDT 2025


================
@@ -5522,6 +5522,11 @@ bool Sema::CheckCallingConvAttr(const ParsedAttr &Attrs, CallingConv &CC,
       A = HostTI->checkCallingConvention(CC);
     if (A == TargetInfo::CCCR_OK && CheckDevice && DeviceTI)
       A = DeviceTI->checkCallingConvention(CC);
+  } else if (LangOpts.SYCLIsDevice && TI.getTriple().isAMDGPU() &&
----------------
sarnex wrote:

Will add, thanks for the review!

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


More information about the cfe-commits mailing list