[all-commits] [llvm/llvm-project] a6055e: [flang][openacc] Fix lowerbound when there is no s...
Valentin Clement (バレンタイン クレメン) via All-commits
all-commits at lists.llvm.org
Tue May 9 14:27:41 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a6055edbe322c81ff910190aab872ab3530622e8
https://github.com/llvm/llvm-project/commit/a6055edbe322c81ff910190aab872ab3530622e8
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-data-operands.f90
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