Add support for array section with constant lower or upper bound.
The current lowering will trigger a TODO when the array is assumed size
or if the lower or upper bound is a variable.
Depends on D148721
Paths
| Differential D148748
[flang][openacc] Support array section with constant lb or ub for data operand ClosedPublic Authored by clementval on Apr 19 2023, 3:10 PM.
Details Summary Add support for array section with constant lower or upper bound. Depends on D148721
Diff Detail
Event Timelineclementval removed a parent revision: D148721: [flang][openacc] Add basic lowering to new data operations for acc.enter_data.Apr 19 2023, 3:55 PM clementval added a parent revision: D148721: [flang][openacc] Add basic lowering to new data operations for acc.enter_data. Comment ActionsRebase This revision is now accepted and ready to land.Apr 19 2023, 4:12 PM Comment Actions Few questions, looks good to me otherwise.
Closed by commit rGdc55d47683e0: [flang][openacc] Support array section with constant lb or ub for data operand (authored by clementval). · Explain WhyApr 20 2023, 10:54 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 515393 flang/lib/Lower/OpenACC.cpp
flang/test/Lower/OpenACC/acc-enter-data.f90
|
Isn't it possible to extract the Expr<SomeType> at that from lower and to lower that to cover all cases, or do you need to do something special for the constant bounds case?