================ @@ -251,6 +251,24 @@ SPIRV::MemorySemantics::MemorySemantics getMemSemantics(AtomicOrdering Ord) { llvm_unreachable(nullptr); } +SPIRV::Scope::Scope getMemScope(const LLVMContext &Ctx, SyncScope::ID ID) { ---------------- AlexVlx wrote:
I've taken this suggestion, but typed it out slightly strangely (I can re-work it if there are objections) to keep the IDs still together / allow for easy hoisting if it turns out we want to re-use them elsewhere. 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