[all-commits] [llvm/llvm-project] 79d8a3: [mlir] add some FP classification ops and their lo...

ftynse via All-commits all-commits at lists.llvm.org
Sun Feb 16 05:51:42 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 79d8a34bc5c0a261b9e9f77c1d4480ef135481ac
      https://github.com/llvm/llvm-project/commit/79d8a34bc5c0a261b9e9f77c1d4480ef135481ac
  Author: Oleksandr "Alex" Zinenko <git at ozinenko.com>
  Date:   2025-02-16 (Sun, 16 Feb 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/Math/IR/MathOps.td
    M mlir/lib/Conversion/GPUCommon/OpToFuncCallLowering.h
    M mlir/lib/Conversion/GPUToNVVM/LowerGpuOpsToNVVMOps.cpp
    M mlir/lib/Dialect/Math/IR/MathOps.cpp
    M mlir/test/Conversion/GPUToNVVM/gpu-to-nvvm.mlir
    M mlir/test/Dialect/Math/ops.mlir

  Log Message:
  -----------
  [mlir] add some FP classification ops and their lowering to libdevice (#127322)

Introduce a subset of floating point classification ops to the Math
dialect. These ops mirror functions provided by the C math library and,
similarly to the existing `math.copysign`, belong to the math dialect.
Add a lowering of those ops to Nvidia libdevice calls when possible as
the first mechanism to exercise them.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list