The construction of the dimension order vector used to populate the
result array was incorrect, leading to a scrambled-looking result
for rank-3 and higher results. Fix, and extend tests.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D125113
[flang] Correct folding of SPREAD() for higher ranks ClosedPublic Authored by klausler on May 6 2022, 11:37 AM.
Details Summary The construction of the dimension order vector used to populate the
Diff Detail Event TimelineThis revision is now accepted and ready to land.May 6 2022, 2:32 PM Closed by commit rG85fdbc1569f5: [flang] Correct folding of SPREAD() for higher ranks (authored by klausler). · Explain WhyMay 9 2022, 3:09 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 427694 flang/lib/Evaluate/fold-implementation.h
flang/test/Evaluate/fold-spread.f90
|