================
@@ -131,42 +131,13 @@ class SPIRVTargetCodeGenInfo : public
CommonSPIRTargetCodeGenInfo {
const VarDecl *D) const override;
void setTargetAttributes(const Decl *D, llvm::GlobalValue *GV,
CodeGen::CodeGenModule &M) const override;
- llvm::SyncScope::ID getLLVMSyncScopeID(const LangOptions &LangOpts,
- SyncScope Scope,
- llvm::AtomicOrdering Ordering,
- llvm::LLVMContext &Ctx) const
override;
+ std::string getLLVMSyncScopeStr(const LangOptions &LangOpts, SyncScope Scope,
----------------
Pierre-vh wrote:
Yeah one-as should eventually go in favor of a better system. It comes up every
now and then in memory consistency discussions, but it's not a urgent thing to
look at.
I went with returning a StringRef, it actually makes the AMDGPU impl cleaner
than before (IMO).
https://github.com/llvm/llvm-project/pull/177343
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits