[all-commits] [llvm/llvm-project] 1581a4: [flang][acc] Fix mappableTy.generateAccBounds to c...
khaki3 via All-commits
all-commits at lists.llvm.org
Wed Aug 27 22:46:29 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1581a4b86386193fe9044f5f7d145dddd5c17798
https://github.com/llvm/llvm-project/commit/1581a4b86386193fe9044f5f7d145dddd5c17798
Author: khaki3 <47756807+khaki3 at users.noreply.github.com>
Date: 2025-08-27 (Wed, 27 Aug 2025)
Changed paths:
M flang/lib/Optimizer/OpenACC/Support/FIROpenACCTypeInterfaces.cpp
M flang/test/Fir/OpenACC/openacc-mappable.fir
M flang/test/lib/OpenACC/TestOpenACCInterfaces.cpp
Log Message:
-----------
[flang][acc] Fix mappableTy.generateAccBounds to correctly handle dynamic-sized arrays (#155666)
We currently see the misuse of the `upperbound` operand for the
`acc::DataBoundsOp` generation in `generateSeqTyAccBounds`. This PR
keeps setting `lowerbound` to zero for all cases and adjusts
`upperbound` to be `extent - 1`.
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