[all-commits] [llvm/llvm-project] ab31c2: [MLIR][NVVM] Add support for narrow-fp to bf16x2 c...

Srinivasa Ravi via All-commits all-commits at lists.llvm.org
Tue Jun 9 01:53:05 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ab31c28892a9ad5e016e94500861c93018736e7b
      https://github.com/llvm/llvm-project/commit/ab31c28892a9ad5e016e94500861c93018736e7b
  Author: Srinivasa Ravi <srinivasar at nvidia.com>
  Date:   2026-06-09 (Tue, 09 Jun 2026)

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

  Log Message:
  -----------
  [MLIR][NVVM] Add support for narrow-fp to bf16x2 conversions (#200157)

This change adds the following NVVM Ops to support narrow-fp to bf16x2
conversions:

- `nvvm.convert.f6x2.to.bf16x2`
- `nvvm.convert.f4x2.to.bf16x2`
- `nvvm.convert.f8x2.to.bf16x2` (updated to allow `E4M3FN` and `E5M2`
types)

Also removes unnecessary verifiers for narrow-fp to `f16x2` conversions
to instead use `TypeAttrOf` to validate the source type in the ODS
definition.



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