[clang] [llvm] [SPIRV][RFC] Rework / extend support for memory scopes (PR #106429)

Matt Arsenault via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 28 21:47:53 PDT 2024


================
@@ -188,6 +192,41 @@ void SPIRVTargetCodeGenInfo::setCUDAKernelCallingConvention(
   }
 }
 
+llvm::SyncScope::ID
+SPIRVTargetCodeGenInfo::getLLVMSyncScopeID(const LangOptions &, SyncScope Scope,
+                                           llvm::AtomicOrdering,
+                                           llvm::LLVMContext &Ctx) const {
+  std::string Name;
----------------
arsenm wrote:

StringRef 

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


More information about the cfe-commits mailing list