[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
Mon Jul 12 17:10:27 PDT 2021
tianshilei1992 added inline comments.
================
Comment at: llvm/test/Transforms/OpenMP/is_spmd_exec_mode_fold.ll:94
+; CHECK-LABEL: define {{[^@]+}}@is_spmd_helper2() {
+; CHECK-NEXT: [[C:%.*]] = icmp eq i8 1, 0
+; CHECK-NEXT: br i1 [[C]], label [[T:%.*]], label [[F:%.*]]
----------------
The function call here can only be folded if we use assumed information as SPMDization doesn't change the state to known.
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