[all-commits] [llvm/llvm-project] d10dca: [mlir][Vector] Move vector.insert canonicalizers f...

Kunwar Grover via All-commits all-commits at lists.llvm.org
Thu Mar 6 10:25:00 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d10dca6ba73c057e7c24624cd62ada8d75ecfd46
      https://github.com/llvm/llvm-project/commit/d10dca6ba73c057e7c24624cd62ada8d75ecfd46
  Author: Kunwar Grover <groverkss at gmail.com>
  Date:   2025-03-06 (Thu, 06 Mar 2025)

  Changed paths:
    M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
    M mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
    M mlir/test/Dialect/Vector/vector-mask-lowering-transforms.mlir

  Log Message:
  -----------
  [mlir][Vector] Move vector.insert canonicalizers for DenseElementsAttr to folders (#128040)

This PR moves vector.insert canonicalizers for DenseElementsAttr (splat
and non splat case) to folders. Folders are local, and it's always
better to implement a folder than a canonicalizer.

This PR is mostly NFC-ish, because the functionality mostly remains
same, but is now run as part of a folder, which is why some tests are
changed, because GreedyPatternRewriter tries to fold by default.



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