summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGDecl.cpp
diff options
context:
space:
mode:
authorPatrick Lyster <Patrick.lyster@ibm.com>2018-11-19 15:09:33 +0000
committerPatrick Lyster <Patrick.lyster@ibm.com>2018-11-19 15:09:33 +0000
commit8f7f586e530fe2211064768ba78925e1a900b330 (patch)
tree5a7edfa658a7513e6b8e159ab58aa36d8fbc2cc6 /clang/lib/CodeGen/CGDecl.cpp
parent28d0131d40584898a8a5800206b28ecfbd118a98 (diff)
downloadbcm5719-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.cpp2
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);
}
OpenPOWER on IntegriCloud