[all-commits] [llvm/llvm-project] 331ebb: [mlir][arith] Add LLVM lowering for `maxnumf`, `mi...

Daniil Dudkin via All-commits all-commits at lists.llvm.org
Thu Sep 14 15:17:19 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 331ebb0783aee8fefb86e55a073c876993914df9
      https://github.com/llvm/llvm-project/commit/331ebb0783aee8fefb86e55a073c876993914df9
  Author: Daniil Dudkin <39276703+unterumarmung at users.noreply.github.com>
  Date:   2023-09-15 (Fri, 15 Sep 2023)

  Changed paths:
    M mlir/lib/Conversion/ArithToLLVM/ArithToLLVM.cpp
    M mlir/test/Conversion/ArithToLLVM/arith-to-llvm.mlir

  Log Message:
  -----------
  [mlir][arith] Add LLVM lowering for `maxnumf`, `minnumf` ops (#66431)

This patch is part of a larger initiative aimed at fixing floating-point
`max` and `min` operations in MLIR:
https://discourse.llvm.org/t/rfc-fix-floating-point-max-and-min-operations-in-mlir/72671.
    
The commit addresses the task 1.4 of the RFC by adding LLVM lowering to
the corresponding LLVM intrinsics.
    
Please **note**: this PR is part of a stack of patches and depends on
#66429.




More information about the All-commits mailing list