diff options
author | Konstantin Zhuravlyov <kzhuravl_dev@outlook.com> | 2019-03-25 20:54:00 +0000 |
---|---|---|
committer | Konstantin Zhuravlyov <kzhuravl_dev@outlook.com> | 2019-03-25 20:54:00 +0000 |
commit | ec28a1dcefc335c1c90959086194a8a168fff35a (patch) | |
tree | 5a0237d48504d1399467865e356e4f250e254862 /clang/lib/CodeGen/TargetInfo.h | |
parent | 51809cbc98ce187608bd5f2c46d18c5ffb7b6031 (diff) | |
download | bcm5719-llvm-ec28a1dcefc335c1c90959086194a8a168fff35a.tar.gz bcm5719-llvm-ec28a1dcefc335c1c90959086194a8a168fff35a.zip |
AMDGPU: Add support for cross address space synchronization scopes (clang)
Differential Revision: https://reviews.llvm.org/D59494
llvm-svn: 356947
Diffstat (limited to 'clang/lib/CodeGen/TargetInfo.h')
-rw-r--r-- | clang/lib/CodeGen/TargetInfo.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/TargetInfo.h b/clang/lib/CodeGen/TargetInfo.h index 8a4154030ce..d7e9eee9c5b 100644 --- a/clang/lib/CodeGen/TargetInfo.h +++ b/clang/lib/CodeGen/TargetInfo.h @@ -268,8 +268,10 @@ public: llvm::Type *DestTy) const; /// Get the syncscope used in LLVM IR. - virtual llvm::SyncScope::ID getLLVMSyncScopeID(SyncScope S, - llvm::LLVMContext &C) const; + virtual llvm::SyncScope::ID getLLVMSyncScopeID(const LangOptions &LangOpts, + SyncScope Scope, + llvm::AtomicOrdering Ordering, + llvm::LLVMContext &Ctx) const; /// Interface class for filling custom fields of a block literal for OpenCL. class TargetOpenCLBlockHelper { |