[all-commits] [llvm/llvm-project] 4213bc: [flang][OpenMP] Add alias analysis for omp private...

Dominik Adamski via All-commits all-commits at lists.llvm.org
Tue Nov 12 02:08:56 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4213bca8717dbf675558148b7d4186cd3980355d
      https://github.com/llvm/llvm-project/commit/4213bca8717dbf675558148b7d4186cd3980355d
  Author: Dominik Adamski <dominik.adamski at amd.com>
  Date:   2024-11-12 (Tue, 12 Nov 2024)

  Changed paths:
    M flang/lib/Optimizer/Analysis/AliasAnalysis.cpp
    A flang/test/Analysis/AliasAnalysis/alias-analysis-omp-teams-distribute-private-ptr.mlir
    A flang/test/Analysis/AliasAnalysis/alias-analysis-omp-teams-distribute-private.mlir

  Log Message:
  -----------
  [flang][OpenMP] Add alias analysis for omp private (#115155)

Enable alias analysis for omp private clause for code:
```
program main
integer :: arrayA(10,10)
integer :: tmp(2)
integer :: i,j
!$omp target teams distribute parallel do private(tmp)
do j = 1, 10
  do i = 1,10
   tmp = [i,j]
   arrayA = tmp(1)
  end do
end do
end program main
```

This PR is based on: https://github.com/llvm/llvm-project/pull/113566
and it contains fix for Fujitsu test suite. Previous PR introduced
regression in Fujitsu test suite. For some Fujitsu test cases
`omp.yield` operation points to block argument. Alias analysis for such
MLIR code will be added in separate PR.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list