[all-commits] [llvm/llvm-project] 576b18: [mlir][vector] Add support for scalable vectors in...

Andrzej WarzyƄski via All-commits all-commits at lists.llvm.org
Tue Aug 22 01:46:16 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 576b184d6e3b633f51b908b61ebd281d2ecbf66f
      https://github.com/llvm/llvm-project/commit/576b184d6e3b633f51b908b61ebd281d2ecbf66f
  Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
  Date:   2023-08-22 (Tue, 22 Aug 2023)

  Changed paths:
    M mlir/lib/Dialect/Vector/Transforms/VectorDropLeadUnitDim.cpp
    M mlir/test/Dialect/Vector/vector-transforms.mlir
    M mlir/test/lib/Dialect/Vector/TestVectorTransforms.cpp

  Log Message:
  -----------
  [mlir][vector] Add support for scalable vectors in `trimLeadingOneDims`

This patch updates one specific hook in "VectorDropLeadUnitDim.cpp" to
make sure that "scalable dims" are handled correctly. While this change
affects multiple patterns, I am only adding one regression tests that
captures one specific case that affects me right now.

I am also adding Vector dialect to the list of dependencies of
`-test-vector-to-vector-lowering`. Otherwise my test case won't work as
a standalone test.

Differential Revision: https://reviews.llvm.org/D157993




More information about the All-commits mailing list