[all-commits] [llvm/llvm-project] 334d43: [mlir][tosa] Add support for mxint8 type in mxfp o...
    Luke Hutton via All-commits 
    all-commits at lists.llvm.org
       
    Wed Oct 29 03:59:55 PDT 2025
    
    
  
  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 334d438bf8a6aefb5d86002f2731df29b899e28c
      https://github.com/llvm/llvm-project/commit/334d438bf8a6aefb5d86002f2731df29b899e28c
  Author: Luke Hutton <luke.hutton at arm.com>
  Date:   2025-10-29 (Wed, 29 Oct 2025)
  Changed paths:
    M mlir/include/mlir/Dialect/Tosa/IR/TosaComplianceData.h.inc
    M mlir/include/mlir/Dialect/Tosa/IR/TosaOps.h
    M mlir/include/mlir/Dialect/Tosa/IR/TosaProfileCompliance.h
    M mlir/include/mlir/Dialect/Tosa/IR/TosaTypesBase.td
    M mlir/lib/Dialect/Tosa/IR/TosaOps.cpp
    M mlir/lib/Dialect/Tosa/Transforms/TosaProfileCompliance.cpp
    M mlir/lib/Dialect/Tosa/Transforms/TosaValidation.cpp
    M mlir/test/Dialect/Tosa/ops.mlir
    M mlir/test/Dialect/Tosa/tosa-validation-version-1p1-valid.mlir
  Log Message:
  -----------
  [mlir][tosa] Add support for mxint8 type in mxfp operations (#163642)
This commit adds support for the OCP-MX INT8 type. This includes the
following operations: MATMUL_T_BLOCK_SCALED, CAST_FROM_BLOCK_SCALED,
CAST_TO_BLOCK_SCALED and CONST.
The support is added via a custom TOSA type "!tosa.mxint8" due to the
fact it is not yet a builtin type in mlir. This may change in the
future, depending on how this type is used by other frameworks/dialects.
Conversions to/from this type have not yet been implemented for the same
reasoning.
Co-authored-by: Tat Wai Chong <tatwai.chong at arm.com>
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