This patch fixed two issues found when folding __kmpc_is_spmd_exec_mode:
- When the reaching kernels are empty, it should not fold to generic mode.
- When creating AA for the caller when updating information, the dependency should be required.
Paths
| Differential D106209
[AbstractAttributor] Fix two issues in folding __kmpc_is_spmd_exec_mode ClosedPublic Authored by tianshilei1992 on Jul 16 2021, 8:45 PM.
Details Summary This patch fixed two issues found when folding __kmpc_is_spmd_exec_mode:
Diff Detail
Event TimelineComment Actions I checked both the reproducer and miniQMC. The reported bug https://bugs.llvm.org/show_bug.cgi?id=51124 can be fixed by this patch. This revision is now accepted and ready to land.Jul 17 2021, 9:38 AM This revision was landed with ongoing or failed builds.Jul 17 2021, 10:13 AM Closed by commit rGd3454ee8d2f4: [AbstractAttributor] Fix two issues in folding __kmpc_is_spmd_exec_mode (authored by tianshilei1992). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 359568 llvm/lib/Transforms/IPO/OpenMPOpt.cpp
|