[all-commits] [llvm/llvm-project] 198ed8: [MLIR] Legalize certain `vector.transfer_read` ops...

Momchil Velikov via All-commits all-commits at lists.llvm.org
Fri Jun 20 04:54:30 PDT 2025


  Branch: refs/heads/users/momchil-velikov/legalize-scalable-transfer-read
  Home:   https://github.com/llvm/llvm-project
  Commit: 198ed819841270aeec7159fe2a9a4c092b8d8af7
      https://github.com/llvm/llvm-project/commit/198ed819841270aeec7159fe2a9a4c092b8d8af7
  Author: Momchil Velikov <momchil.velikov at arm.com>
  Date:   2025-06-20 (Fri, 20 Jun 2025)

  Changed paths:
    M mlir/lib/Dialect/ArmSVE/Transforms/LegalizeVectorStorage.cpp
    A mlir/test/Dialect/ArmSVE/legalize-transfer-read.mlir
    A mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/transfer-read-scalable-not-rightmost.mlir

  Log Message:
  -----------
  [MLIR] Legalize certain `vector.transfer_read` ops of scalable vectors

THis patch add a transform  of `transfer_read` operation to change the
vector type to one that can be mapped to an LLVM type. This is done by
collapsing trailing dimensions so we obtain a vector type with a single
scalable dimension in the rightmost position.


  Commit: a22e601adb1d1371a1adbc15a6b287fe98fcc0f3
      https://github.com/llvm/llvm-project/commit/a22e601adb1d1371a1adbc15a6b287fe98fcc0f3
  Author: Momchil Velikov <momchil.velikov at arm.com>
  Date:   2025-06-20 (Fri, 20 Jun 2025)

  Changed paths:
    M mlir/lib/Dialect/ArmSVE/Transforms/LegalizeVectorStorage.cpp

  Log Message:
  -----------
  [fixup] Fix formatting


  Commit: d9ce375170f815e087137fd0609b7ff24427607c
      https://github.com/llvm/llvm-project/commit/d9ce375170f815e087137fd0609b7ff24427607c
  Author: Momchil Velikov <momchil.velikov at arm.com>
  Date:   2025-06-20 (Fri, 20 Jun 2025)

  Changed paths:
    M mlir/lib/Dialect/ArmSVE/Transforms/LegalizeVectorStorage.cpp
    M mlir/test/Dialect/ArmSVE/legalize-transfer-read.mlir

  Log Message:
  -----------
  [fixup] Prevent the pattern from (incorrectly) applying to masked transfers


  Commit: e422213688930813cd898686eb93e7a0dfc6033b
      https://github.com/llvm/llvm-project/commit/e422213688930813cd898686eb93e7a0dfc6033b
  Author: Momchil Velikov <momchil.velikov at arm.com>
  Date:   2025-06-20 (Fri, 20 Jun 2025)

  Changed paths:
    M mlir/lib/Dialect/ArmSVE/Transforms/LegalizeVectorStorage.cpp
    M mlir/test/Dialect/ArmSVE/legalize-transfer-read.mlir

  Log Message:
  -----------
  [fixup] Commenting and rework the tests


Compare: https://github.com/llvm/llvm-project/compare/5496f974f86a...e42221368893

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