[all-commits] [llvm/llvm-project] 85fdbc: [flang] Correct folding of SPREAD() for higher ranks
Peter Klausler via All-commits
all-commits at lists.llvm.org
Mon May 9 15:09:54 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 85fdbc1569f5c97daafd6a0daade54282806aa6a
https://github.com/llvm/llvm-project/commit/85fdbc1569f5c97daafd6a0daade54282806aa6a
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2022-05-09 (Mon, 09 May 2022)
Changed paths:
M flang/lib/Evaluate/fold-implementation.h
M flang/test/Evaluate/fold-spread.f90
Log Message:
-----------
[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
More information about the All-commits
mailing list