[PATCH] D120573: [OpenMP] Support runtime user conditions in metadirective
Abid via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Mar 22 15:43:47 PDT 2022
abidmalikwaterloo added inline comments.
================
Comment at: clang/lib/CodeGen/CGStmtOpenMP.cpp:1852
+ int BestIdx = getBestVariantMatchForContext(StaticVMIs, OMPCtx);
+
+ EmitStmt(StaticWhenClauses[BestIdx]->getDirective());
----------------
This approach is valid for static conditions. How you are going to take care of multiple dynamic/runtime conditions?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D120573/new/
https://reviews.llvm.org/D120573
More information about the cfe-commits
mailing list