diff options
author | Dominik Adamski <dominik.adamski@amd.com> | 2024-11-12 11:08:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-12 11:08:33 +0100 |
commit | 4213bca8717dbf675558148b7d4186cd3980355d (patch) | |
tree | 62b31432383b114f1a04dc43fe6fed80a0e1f241 /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | 7665d3f0df78b8b58c1adb18d53f36351426da72 (diff) | |
download | llvm-4213bca8717dbf675558148b7d4186cd3980355d.zip llvm-4213bca8717dbf675558148b7d4186cd3980355d.tar.gz llvm-4213bca8717dbf675558148b7d4186cd3980355d.tar.bz2 |
[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.
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions