The algorithm was wrong for higher dimensions, and so were
the expected test results. Rework.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D127018
[flang] Correct folding of CSHIFT and EOSHIFT for DIM>1 ClosedPublic Authored by klausler on Jun 3 2022, 3:48 PM.
Details Summary The algorithm was wrong for higher dimensions, and so were
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jun 3 2022, 4:45 PM Closed by commit rGe0adee848162: [flang] Correct folding of CSHIFT and EOSHIFT for DIM>1 (authored by klausler). · Explain WhyJun 3 2022, 7:00 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 434234 flang/lib/Evaluate/fold-implementation.h
flang/test/Evaluate/folding23.f90
flang/test/Evaluate/folding27.f90
|