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

Momchil Velikov via All-commits all-commits at lists.llvm.org
Fri Jun 13 09:43:15 PDT 2025


  Branch: refs/heads/users/momchil-velikov/legalize-scalable-transfer-read
  Home:   https://github.com/llvm/llvm-project
  Commit: 493955781f28b8b6caaeff1b45f7b7a06b43086c
      https://github.com/llvm/llvm-project/commit/493955781f28b8b6caaeff1b45f7b7a06b43086c
  Author: Momchil Velikov <momchil.velikov at arm.com>
  Date:   2025-06-13 (Fri, 13 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: 050a4add6c26edaa44a4b756f05c30703357cd29
      https://github.com/llvm/llvm-project/commit/050a4add6c26edaa44a4b756f05c30703357cd29
  Author: Momchil Velikov <momchil.velikov at arm.com>
  Date:   2025-06-13 (Fri, 13 Jun 2025)

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

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


  Commit: 5496f974f86a6549ebf303b1e35fee4890ba8b53
      https://github.com/llvm/llvm-project/commit/5496f974f86a6549ebf303b1e35fee4890ba8b53
  Author: Momchil Velikov <momchil.velikov at arm.com>
  Date:   2025-06-13 (Fri, 13 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


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

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