Skip to content

[mlir][vector][llvm] Improve LLVM lowering of fmin/fmax reductions #63969

Closed
@dcaballe

Description

@dcaballe

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions