[all-commits] [llvm/llvm-project] e98de2: [MLIR][NVVM] Add support for f32x2 to f4x2 convers...

Srinivasa Ravi via All-commits all-commits at lists.llvm.org
Tue Oct 14 23:26:17 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e98de2ed7c1db5144b52c5284118a95229d0a8b2
      https://github.com/llvm/llvm-project/commit/e98de2ed7c1db5144b52c5284118a95229d0a8b2
  Author: Srinivasa Ravi <srinivasar at nvidia.com>
  Date:   2025-10-15 (Wed, 15 Oct 2025)

  Changed paths:
    M mlir/include/mlir/Dialect/LLVMIR/NVVMOps.td
    M mlir/lib/Dialect/LLVMIR/IR/NVVMDialect.cpp
    A mlir/test/Target/LLVMIR/nvvm/convert_fp4x2.mlir
    M mlir/test/Target/LLVMIR/nvvmir-invalid.mlir

  Log Message:
  -----------
  [MLIR][NVVM] Add support for f32x2 to f4x2 conversion (#162273)

This change adds the `convert.f32x2.to.f4x2` op to the NVVM Dialect
for converting a pair of f32 values to an f4x2 (`e2m1x2`) value.

PTX reference:
https://docs.nvidia.com/cuda/parallel-thread-execution/index.html#data-movement-and-conversion-instructions-cvt



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