[flang-commits] [flang] Reland [flang] Generalized simplification of HLFIR reduction ops. (#136071) (PR #136246)

Slava Zakharin via flang-commits flang-commits at lists.llvm.org
Thu Apr 17 20:03:39 PDT 2025


vzakhari wrote:

Please review additional changes to fix failures in gfortran suite.

I misread the original MINLOC/MAXLOC code so badly, that I thought I need to do the adjustment for the non-default lbounds :) it turned out it is much simpler.

The MINVAL/MAXVAL issues was caused by me changing init value to +/-LARGEST (which is correct) - that uncovered another bug that we have to use isFirst same way as with MINLOC/MAXLOC.

https://github.com/llvm/llvm-project/pull/136246


More information about the flang-commits mailing list