[PATCH] D105246: [AbstractAttributor] Fold function calls to `__kmpc_is_spmd_exec_mode` if possible

Shilei Tian via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 6 15:06:22 PDT 2021


tianshilei1992 added inline comments.


================
Comment at: llvm/lib/Transforms/IPO/OpenMPOpt.cpp:3377
+      assert(AA.isValidState() && "AA should be valid here");
+      if (AA.IsSPMDMode)
+        ++Count;
----------------
This condition should include SPMDization, but what should be used?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D105246/new/

https://reviews.llvm.org/D105246



More information about the llvm-commits mailing list