[all-commits] [llvm/llvm-project] 174cd6: [mlir][ArmSME] Add custom vector.print lowering fo...

Benjamin Maxwell via All-commits all-commits at lists.llvm.org
Tue Sep 26 09:10:12 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 174cd6145b15e9f08b8ef5ae54efa70cb1d753df
      https://github.com/llvm/llvm-project/commit/174cd6145b15e9f08b8ef5ae54efa70cb1d753df
  Author: Benjamin Maxwell <benjamin.maxwell at arm.com>
  Date:   2023-09-26 (Tue, 26 Sep 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/ArmSME/Utils/Utils.h
    M mlir/lib/Conversion/ArmSMEToSCF/ArmSMEToSCF.cpp
    M mlir/lib/Dialect/ArmSME/Transforms/LegalizeForLLVMExport.cpp
    M mlir/lib/Dialect/ArmSME/Utils/Utils.cpp
    M mlir/test/Conversion/ArmSMEToSCF/arm-sme-to-scf.mlir
    M mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-load-vertical.mlir
    M mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-outerproduct-f32.mlir
    M mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-outerproduct-f64.mlir
    M mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-transpose.mlir
    M mlir/test/Integration/Dialect/Vector/CPU/ArmSME/tile_fill.mlir

  Log Message:
  -----------
  [mlir][ArmSME] Add custom vector.print lowering for SME tiles (#66691)

This adds a custom lowering for SME that loops over each row of the
tile, extracting it via an SME MOVA, then printing with a normal 1D
vector.print.

This makes writing SME integration tests easier and less verbose.

Depends on: #66910, #66911




More information about the All-commits mailing list