[PATCH] D109376: [OpenMP] Check OpenMP assumptions on call-sites as well
Johannes Doerfert via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 7 13:36:41 PDT 2021
jdoerfert accepted this revision.
jdoerfert added a comment.
This revision is now accepted and ready to land.
LG. one nit.
================
Comment at: llvm/lib/Transforms/IPO/OpenMPOpt.cpp:3713
// Check for SPMD-mode assumptions.
- if (HasAssumption(Callee, "ompx_spmd_amenable"))
+ if (HasAssumption(&CB, "ompx_spmd_amenable")) {
SPMDCompatibilityTracker.indicateOptimisticFixpoint();
----------------
No need to use pointers here.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D109376/new/
https://reviews.llvm.org/D109376
More information about the llvm-commits
mailing list