[all-commits] [llvm/llvm-project] a00b73: [mlir][Vector] Support `vector.extract(xfer_read)`...

Diego Caballero via All-commits all-commits at lists.llvm.org
Mon Jun 16 12:05:43 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a00b736a797d252d9e26cc13fb45993d7b02ede2
      https://github.com/llvm/llvm-project/commit/a00b736a797d252d9e26cc13fb45993d7b02ede2
  Author: Diego Caballero <dieg0ca6aller0 at gmail.com>
  Date:   2025-06-16 (Mon, 16 Jun 2025)

  Changed paths:
    M mlir/lib/Dialect/Vector/Transforms/VectorTransferOpTransforms.cpp
    M mlir/test/Dialect/Vector/scalar-vector-transfer-to-memref.mlir

  Log Message:
  -----------
  [mlir][Vector] Support `vector.extract(xfer_read)` folding with dynamic indices (#143269)

This PR is part of the last step to remove `vector.extractelement` and `vector.insertelement` ops.
RFC: https://discourse.llvm.org/t/rfc-psa-remove-vector-extractelement-and-vector-insertelement-ops-in-favor-of-vector-extract-and-vector-insert-ops

It adds support for folding `vector.transfer_read(vector.extract) ->
memref.load` with dynamic indices, which is currently supported by
`vector.extractelement`.



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