You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently generate llvm reduce_fmin/reduce_fmax intrinsics whose semantics don't match the NaN handling of arith.fmin/arith.fmax operations in MLIR. We should generate llvm reduce_fminimum/reduce_fmaximum intrinsics instead, which have been recently added to LLVM.
The text was updated successfully, but these errors were encountered:
This patch improves the lowering by changing target LLVM intrinsics from
`reduce.fmax` and `reduce.fmin`,
which have different semantic for handling NaN,
to `reduce.fmaximum` and `reduce.fminimum` ones.
Fixesllvm#63969
Depends on D155869
Reviewed By: dcaballe
Differential Revision: https://reviews.llvm.org/D155877
We currently generate llvm
reduce_fmin
/reduce_fmax
intrinsics whose semantics don't match the NaN handling ofarith.fmin
/arith.fmax
operations in MLIR. We should generate llvmreduce_fminimum
/reduce_fmaximum
intrinsics instead, which have been recently added to LLVM.The text was updated successfully, but these errors were encountered: