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

Vyacheslav Levytskyy via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 20 03:00:28 PDT 2024


================
@@ -251,6 +251,24 @@ SPIRV::MemorySemantics::MemorySemantics getMemSemantics(AtomicOrdering Ord) {
   llvm_unreachable(nullptr);
 }
 
+SPIRV::Scope::Scope getMemScope(const LLVMContext &Ctx, SyncScope::ID ID) {
----------------
VyacheslavLevytskyy wrote:

No problems, I'm quite happy with the way the suggestion is integrated, looks as good, thank you.

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


More information about the cfe-commits mailing list