[PATCH] D106154: [AbstractAttributor] Fold __kmpc_parallel_level if possible
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jul 21 23:30:20 PDT 2021
jdoerfert added inline comments.
================
Comment at: llvm/lib/Transforms/IPO/OpenMPOpt.cpp:3331
+
+ bool AllCallSitesKnown;
+ if (!A.checkForAllCallSites(PredCallSite, *this,
----------------
================
Comment at: llvm/lib/Transforms/IPO/OpenMPOpt.cpp:3679
+ DepClassTy::REQUIRED);
+ if (!AA.isValidState())
+ return indicatePessimisticFixpoint();
----------------
================
Comment at: llvm/lib/Transforms/IPO/OpenMPOpt.cpp:3698
+ if (Level != 1 && SPMDCount)
+ SimplifiedValue = nullptr;
+ else {
----------------
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D106154/new/
https://reviews.llvm.org/D106154
More information about the llvm-commits
mailing list