Lowering of assignments in forall constructs could result in too many temporaries and copies. These changes eliminate this duplication.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D125336
[flang] Upstream fix for performance issue ClosedPublic Authored by schweitz on May 10 2022, 1:32 PM.
Details Summary Lowering of assignments in forall constructs could result in too many temporaries and copies. These changes eliminate this duplication.
Diff Detail Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptMay 10 2022, 1:32 PM This revision is now accepted and ready to land.May 10 2022, 2:09 PM Closed by commit rG6822ed035f18: Fixes a performance problem with lowering of forall loops and creating (authored by schweitz). · Explain WhyMay 12 2022, 8:12 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 428671 flang/lib/Lower/ConvertExpr.cpp
flang/test/Lower/forall/array-constructor.f90
flang/test/Lower/forall/forall-2.f90
flang/test/Lower/forall/forall-construct-2.f90
flang/test/Lower/forall/forall-construct-3.f90
flang/test/Lower/forall/forall-construct.f90
flang/test/Lower/forall/forall-ranked.f90
flang/test/Lower/forall/forall-slice.f90
flang/test/Lower/forall/test9.f90
|