Keep the original array size when materializing the private copy.
Depends on D155882
Paths
| Differential D155893
[flang][openacc] Keep original array size in reduction init region with slice ClosedPublic Authored by clementval on Jul 20 2023, 2:52 PM.
Details
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptJul 20 2023, 2:52 PM Comment Actions Thank you! I agree with this now. It made sense at first to create a new type for the slice, but this new type would become incompatible with all possible uses of that original array. Thus, just like the data mapping operations, it makes sense to keep the original type! This revision is now accepted and ready to land.Jul 21 2023, 8:12 AM This revision was landed with ongoing or failed builds.Jul 24 2023, 9:34 AM Closed by commit rGbe5ac6664327: [flang][openacc] Keep original array size in reduction init region with slice (authored by clementval). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 543596 flang/lib/Lower/OpenACC.cpp
flang/test/Lower/OpenACC/acc-reduction.f90
|