[all-commits] [llvm/llvm-project] 16094a: [MLIR][NVGPU] Add truncf and extf Ops (#199700)

Srinivasa Ravi via All-commits all-commits at lists.llvm.org
Tue Jul 14 03:35:27 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 16094a86a6cfe79fa50dcca39b539ab6465b8ac0
      https://github.com/llvm/llvm-project/commit/16094a86a6cfe79fa50dcca39b539ab6465b8ac0
  Author: Srinivasa Ravi <srinivasar at nvidia.com>
  Date:   2026-07-14 (Tue, 14 Jul 2026)

  Changed paths:
    M mlir/include/mlir/Conversion/Passes.td
    M mlir/include/mlir/Dialect/NVGPU/IR/NVGPUOps.td
    M mlir/lib/Conversion/NVGPUToNVVM/CMakeLists.txt
    M mlir/lib/Conversion/NVGPUToNVVM/NVGPUToNVVM.cpp
    M mlir/lib/Dialect/NVGPU/IR/NVGPUDialect.cpp
    A mlir/test/Conversion/NVGPUToNVVM/nvgpu-extf-large.mlir
    A mlir/test/Conversion/NVGPUToNVVM/nvgpu-extf.mlir
    A mlir/test/Conversion/NVGPUToNVVM/nvgpu-truncf-large.mlir
    A mlir/test/Conversion/NVGPUToNVVM/nvgpu-truncf.mlir
    A mlir/test/Dialect/NVGPU/nvgpu-extf-invalid.mlir
    A mlir/test/Dialect/NVGPU/nvgpu-truncf-invalid.mlir

  Log Message:
  -----------
  [MLIR][NVGPU] Add truncf and extf Ops (#199700)

This change adds the `extf` and `truncf` ops to the NVGPU dialect to
support floating-point conversion operations.

These ops support scalar and vector inputs and lower to the corresponding
NVVM ops after padding and chunking the input into `i32` registers.



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