[PATCH] D105787: [WIP][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
Sun Jul 11 19:37:06 PDT 2021


tianshilei1992 added inline comments.


================
Comment at: llvm/lib/Transforms/IPO/OpenMPOpt.cpp:3565
+
+    indicateOptimisticFixpoint();
+
----------------
jdoerfert wrote:
> tianshilei1992 wrote:
> > This might not be always true. What if later there is a kernel entry in another mode?
> I don't think that can happen
Function call in `is_mixed_helper` in the test case is folded by mistake.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D105787



More information about the llvm-commits mailing list