Update the lowering to match the intent of the newly added operation
as described here D148860.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thank you for addressing this issue. For default lb of 1, the acc.bounds operation appears to work as intended.
However, would this work for the case of "integer :: array(0:9)" or similarly non-1 constant lowerbound?
Comment Actions
Add test for array section from array with non default lower bound. Update the
code to support these cases correctly.
flang/lib/Lower/OpenACC.cpp | ||
---|---|---|
134 | The special case here will be merge with the non constant bound support so the code will hopefully look better. |
Comment Actions
I went pretty meticulously through the tests and everything looks correct. Thank you for all the detail on writing these tests.
The special case here will be merge with the non constant bound support so the code will hopefully look better.