diff options
author | Patrick Lyster <Patrick.lyster@ibm.com> | 2018-11-19 15:09:33 +0000 |
---|---|---|
committer | Patrick Lyster <Patrick.lyster@ibm.com> | 2018-11-19 15:09:33 +0000 |
commit | 8f7f586e530fe2211064768ba78925e1a900b330 (patch) | |
tree | 5a7edfa658a7513e6b8e159ab58aa36d8fbc2cc6 /clang/lib/CodeGen/CGDecl.cpp | |
parent | 28d0131d40584898a8a5800206b28ecfbd118a98 (diff) | |
download | bcm5719-llvm-8f7f586e530fe2211064768ba78925e1a900b330.tar.gz bcm5719-llvm-8f7f586e530fe2211064768ba78925e1a900b330.zip |
[OpenMP] Check target architecture supports unified shared memory for requires directive. Differential Review: https://reviews.llvm.org/D54493
llvm-svn: 347214
Diffstat (limited to 'clang/lib/CodeGen/CGDecl.cpp')
-rw-r--r-- | clang/lib/CodeGen/CGDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/CodeGen/CGDecl.cpp b/clang/lib/CodeGen/CGDecl.cpp index e4895fe835c..b36b328ad47 100644 --- a/clang/lib/CodeGen/CGDecl.cpp +++ b/clang/lib/CodeGen/CGDecl.cpp @@ -2185,5 +2185,5 @@ void CodeGenModule::EmitOMPDeclareReduction(const OMPDeclareReductionDecl *D, } void CodeGenModule::EmitOMPRequiresDecl(const OMPRequiresDecl *D) { - //Do nothing - here to avoid build errors + getOpenMPRuntime().checkArchForUnifiedAddressing(*this, D); } |