Skip to content
Unverified Commit ca0525fa authored by Peter Klausler's avatar Peter Klausler
Browse files

[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
parent 5f8d3320
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment