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

[flang] Fix crash in folding of DPROD() with non-scalar arguments

DPROD(x,y) is defined as DBLE(x)*DBLE(y) and that's exactly how
the implementation of its rewriting and possible folding should
be implemented, instead of the current code that only works when
both arguments are scalar and crashes otherwise.

Fixes https://github.com/llvm/llvm-project/issues/63991.

Differential Revision: https://reviews.llvm.org/D156754
parent 9c446da5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment