[all-commits] [llvm/llvm-project] a3b34e: [mlir][vector] Add pattern for dropping unit dims ...

Quinn Dawkins via All-commits all-commits at lists.llvm.org
Fri Sep 27 08:43:49 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a3b34e67e6905eb01709b35d4b792c7442ed93ac
      https://github.com/llvm/llvm-project/commit/a3b34e67e6905eb01709b35d4b792c7442ed93ac
  Author: Quinn Dawkins <quinn.dawkins at gmail.com>
  Date:   2024-09-27 (Fri, 27 Sep 2024)

  Changed paths:
    M mlir/include/mlir/Dialect/SCF/IR/SCF.h
    M mlir/lib/Dialect/SCF/IR/SCF.cpp
    M mlir/lib/Dialect/Vector/Transforms/VectorTransforms.cpp
    M mlir/test/Dialect/Vector/drop-unit-dims-with-shape-cast.mlir

  Log Message:
  -----------
  [mlir][vector] Add pattern for dropping unit dims from for loops (#109585)

This adds a pattern for dropping unit dims from the iter_args of scf.for
ops using vector.shape_cast. This composes with the other patterns for
dropping unit dims from elementwise ops and transposes.



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