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.
 
 Differential  D106209  
[AbstractAttributor] Fix two issues in folding __kmpc_is_spmd_exec_mode Authored by tianshilei1992 on Jul 16 2021, 8:45 PM. 
Details This patch fixed two issues found when folding __kmpc_is_spmd_exec_mode: 
 
Diff Detail 
 
Unit Tests 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.  |