[clang] [CIR][OpenMP] Add emitDeclTargetVarDeclLValue for global variable access (PR #234075)
Steffen Larsen via cfe-commits
cfe-commits at lists.llvm.org
Fri Oct 30 01:06:52 PDT 2026
================
@@ -172,6 +173,12 @@ bool CIRGenOpenMPRuntime::markAsGlobalTarget(GlobalDecl gd) {
return !alreadyEmittedTargetDecls.insert(d).second;
}
+bool CIRGenOpenMPRuntime::hasRequiresUnifiedSharedMemory() const {
+ // OGCG also sets this from '#pragma omp requires unified_shared_memory'.
+ assert(!cir::MissingFeatures::openMP());
----------------
steffenlarsen wrote:
I'm not against this per se, but I wonder if we will eventually want more granular OpenMP missing features.
https://github.com/llvm/llvm-project/pull/234075
More information about the cfe-commits
mailing list