================ @@ -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:
I'd say that removal of SSIDs struct from lib/Target/SPIRV/SPIRVInstructionSelector.cpp and this implementation of `getMemScope()` may be enough. Here we may initialize and refer all scopes concisely. https://github.com/llvm/llvm-project/pull/106429 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits