[all-commits] [llvm/llvm-project] 9308d6: [Flang] Correct initial limit value in float min/m...
David Green via All-commits
all-commits at lists.llvm.org
Sat Feb 10 00:20:01 PST 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9308d6688c673606fee1625d777a52539ae72015
https://github.com/llvm/llvm-project/commit/9308d6688c673606fee1625d777a52539ae72015
Author: David Green <david.green at arm.com>
Date: 2024-02-10 (Sat, 10 Feb 2024)
Changed paths:
M flang/lib/Optimizer/HLFIR/Transforms/OptimizedBufferization.cpp
M flang/test/HLFIR/maxloc-elemental.fir
M flang/test/HLFIR/minloc-elemental.fir
Log Message:
-----------
[Flang] Correct initial limit value in float min/maxloc reductions. (#81260)
I was looking through to check whether Nan was being handled correctly,
and couldn't work out why simple cases were behaving differently than
they should. It turns out the initial limit values was backwards for
minloc/maxloc reductions in general. This fixes that, introduced in
#79469.
More information about the All-commits
mailing list