[all-commits] [llvm/llvm-project] d3454e: [AbstractAttributor] Fix two issues in folding __k...

Shilei Tian via All-commits all-commits at lists.llvm.org
Sat Jul 17 10:13:57 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d3454ee8d2f4f61723d0a02f15cce8b4d8886786
      https://github.com/llvm/llvm-project/commit/d3454ee8d2f4f61723d0a02f15cce8b4d8886786
  Author: Shilei Tian <tianshilei1992 at gmail.com>
  Date:   2021-07-17 (Sat, 17 Jul 2021)

  Changed paths:
    M llvm/lib/Transforms/IPO/OpenMPOpt.cpp

  Log Message:
  -----------
  [AbstractAttributor] Fix two issues in folding __kmpc_is_spmd_exec_mode

This patch fixed two issues found when folding `__kmpc_is_spmd_exec_mode`:
1. When the reaching kernels are empty, it should not fold to generic mode.
2. When creating AA for the caller when updating information, the dependency
   should be required.

Reviewed By: ye-luo

Differential Revision: https://reviews.llvm.org/D106209




More information about the All-commits mailing list