[all-commits] [llvm/llvm-project] 196d89: [mlir][llvm] Add rounding intrinsics

Lukas Sommer via All-commits all-commits at lists.llvm.org
Mon May 29 09:13:07 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 196d89740c5e8bf238200b7f95e6173b231aa5d2
      https://github.com/llvm/llvm-project/commit/196d89740c5e8bf238200b7f95e6173b231aa5d2
  Author: Lukas Sommer <lukas.sommer at codeplay.com>
  Date:   2023-05-29 (Mon, 29 May 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/LLVMIntrinsicOps.td
    M mlir/test/Target/LLVMIR/Import/intrinsic.ll
    M mlir/test/Target/LLVMIR/llvmir-intrinsics.mlir

  Log Message:
  -----------
  [mlir][llvm] Add rounding intrinsics

Add some of the missing libm rounding intrinsics to the LLVM dialect:
* `llvm.rint`
* `llvm.nearbyint`
* `llvm.lround`
* `llvm.llround`
* `llvm.lrint`
* `llvm.llrint`

Differential Revision: https://reviews.llvm.org/D151558




More information about the All-commits mailing list