[all-commits] [llvm/llvm-project] bb2aa1: [MLIR][NVVM] Update support for conversions to f8x...

Srinivasa Ravi via All-commits all-commits at lists.llvm.org
Tue May 6 00:17:03 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bb2aa1adcc4ad1508b477a2f53aa4ab922b4f99f
      https://github.com/llvm/llvm-project/commit/bb2aa1adcc4ad1508b477a2f53aa4ab922b4f99f
  Author: Srinivasa Ravi <srinivasar at nvidia.com>
  Date:   2025-05-06 (Tue, 06 May 2025)

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

  Log Message:
  -----------
  [MLIR][NVVM] Update support for conversions to f8x2 and f6x2 types (#137781)

This change:
- Adds the `cvt.f32x2.to.f8x2`, `cvt.f16x2.to.f8x2`, and
`cvt.bf16x2.to.f8x2`
  Ops to the NVVM dialect for the conversions to `.e4m3x2`, `e5m2x2`,
  and `.ue8m0x2` types.
- Renames the recently added `cvt.to.f6x2` Op to `cvt.f32x2.to.f6x2`
  for consistency with the other conversion Ops.

For more information, see PTX ISA:
https://docs.nvidia.com/cuda/parallel-thread-execution/#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