[Openmp-commits] [PATCH] D102307: [OpenMP] Detect SPMD compatible kernels and execute them as such
Johannes Doerfert via Phabricator via Openmp-commits
openmp-commits at lists.llvm.org
Fri Jun 25 09:29:44 PDT 2021
jdoerfert added inline comments.
================
Comment at: llvm/lib/Transforms/IPO/OpenMPOpt.cpp:499
bool operator==(const KernelInfoState &RHS) const {
- if ((MayReachUnknownParallelRegion != RHS.MayReachUnknownParallelRegion))
+ if ((MayReachUnknownParallelRegion != RHS.MayReachUnknownParallelRegion) |
+ (IsSPMDCompatible != RHS.IsSPMDCompatible))
----------------
tianshilei1992 wrote:
> `||` or `|`?
Either. I can make it `||`
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D102307/new/
https://reviews.llvm.org/D102307
More information about the Openmp-commits
mailing list