[flang] Correct folding of SPREAD() for higher ranks
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. Differential Revision: https://reviews.llvm.org/D125113
parent
9641b9be
Please register or sign in to comment