[all-commits] [llvm/llvm-project] 6e8f7d: [mlir][vector] Fix patterns for dropping leading u...

Quinn Dawkins via All-commits all-commits at lists.llvm.org
Mon Nov 27 09:35:46 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6e8f7d5966f51f3c3ddf76bb00eb60f4fb9ceebe
      https://github.com/llvm/llvm-project/commit/6e8f7d5966f51f3c3ddf76bb00eb60f4fb9ceebe
  Author: Quinn Dawkins <quinn.dawkins at gmail.com>
  Date:   2023-11-27 (Mon, 27 Nov 2023)

  Changed paths:
    M mlir/include/mlir/Dialect/Vector/IR/VectorOps.h
    M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
    M mlir/lib/Dialect/Vector/Transforms/VectorDropLeadUnitDim.cpp
    M mlir/test/Dialect/Vector/vector-dropleadunitdim-transforms.mlir

  Log Message:
  -----------
  [mlir][vector] Fix patterns for dropping leading unit dims from masks (#73525)

Previously the pattern only worked when the permutation map was a minor
identity. Infer the new mask type from the new transfer map after
dropping leading unit dims.




More information about the All-commits mailing list