[all-commits] [llvm/llvm-project] ca0525: [flang] Fix crash in location reduction folding wi...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Tue Aug 8 10:13:19 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ca0525fa16a4b3b003d3dac0278c2455abb38bee
https://github.com/llvm/llvm-project/commit/ca0525fa16a4b3b003d3dac0278c2455abb38bee
Author: Peter Klausler <pklausler at nvidia.com>
Date: 2023-08-08 (Tue, 08 Aug 2023)
Changed paths:
M flang/lib/Evaluate/fold-integer.cpp
M flang/test/Evaluate/fold-findloc.f90
Log Message:
-----------
[flang] Fix crash in location reduction folding with DIM= and scalar MASK=
The shape of an expanded scalar MASK= was incorrect in the template
code that folds FINDLOC/MAXLOC/MINLOC, leading to a vector indexing
crash when a DIM= argument is also present.
Fixes https://github.com/llvm/llvm-project/issues/64286.
Differential Revision: https://reviews.llvm.org/D157329
More information about the All-commits
mailing list