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

Momchil Velikov via All-commits all-commits at lists.llvm.org
Mon Jun 23 06:41:55 PDT 2025


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

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

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


  Commit: c0ebd0ef9cc989cc407223cd9cd91a595edc8858
      https://github.com/llvm/llvm-project/commit/c0ebd0ef9cc989cc407223cd9cd91a595edc8858
  Author: Momchil Velikov <momchil.velikov at arm.com>
  Date:   2025-06-23 (Mon, 23 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: 925525d3817337ab27148a5219cbaa163878cbd0
      https://github.com/llvm/llvm-project/commit/925525d3817337ab27148a5219cbaa163878cbd0
  Author: Momchil Velikov <momchil.velikov at arm.com>
  Date:   2025-06-23 (Mon, 23 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


  Commit: 9d76736e0baa14d021810acf8920bdbe95897843
      https://github.com/llvm/llvm-project/commit/9d76736e0baa14d021810acf8920bdbe95897843
  Author: Momchil Velikov <momchil.velikov at arm.com>
  Date:   2025-06-23 (Mon, 23 Jun 2025)

  Changed paths:
    A mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/transfer-read-scalable-non-trailing.mlir
    R mlir/test/Integration/Dialect/Vector/CPU/ArmSVE/transfer-read-scalable-not-rightmost.mlir

  Log Message:
  -----------
  [fixup] Tweak the integration test


Compare: https://github.com/llvm/llvm-project/compare/e42221368893...9d76736e0baa

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