[all-commits] [llvm/llvm-project] 626aa8: [flang][openacc] Fix lowerbound when there is no s...
Valentin Clement (バレンタイン クレメン) via All-commits
all-commits at lists.llvm.org
Tue May 9 12:22:22 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 626aa8518d873c5760cd033fe49b1809c9de3494
https://github.com/llvm/llvm-project/commit/626aa8518d873c5760cd033fe49b1809c9de3494
Author: Valentin Clement <clementval at gmail.com>
Date: 2023-05-09 (Tue, 09 May 2023)
Changed paths:
M flang/lib/Lower/OpenACC.cpp
M flang/test/Lower/OpenACC/acc-enter-data.f90
Log Message:
-----------
[flang][openacc] Fix lowerbound when there is no subscripts
The lowerbound was not correctly normalized to 0 when the bound
are generated for an array without subscripts.
```
integer :: a(11:20)
!$acc enter data create(a)
```
Reviewed By: razvanlupusoru
Differential Revision: https://reviews.llvm.org/D150208
More information about the All-commits
mailing list