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

Dominik Adamski via All-commits all-commits at lists.llvm.org
Tue Nov 5 04:56:34 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f3025c8b4fd797d99a8a8117254f93605ec46aa8
      https://github.com/llvm/llvm-project/commit/f3025c8b4fd797d99a8a8117254f93605ec46aa8
  Author: Dominik Adamski <dominik.adamski at amd.com>
  Date:   2024-11-05 (Tue, 05 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 (#113566)

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
```



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