[all-commits] [llvm/llvm-project] 517cda: [mlir][vector] Add foldInsertUseChain folder funct...

lonely eagle via All-commits all-commits at lists.llvm.org
Tue Jul 8 07:39:40 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 517cda12e5091216645903ec85087b0b2f8239c4
      https://github.com/llvm/llvm-project/commit/517cda12e5091216645903ec85087b0b2f8239c4
  Author: lonely eagle <2020382038 at qq.com>
  Date:   2025-07-08 (Tue, 08 Jul 2025)

  Changed paths:
    M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
    M mlir/test/Dialect/Vector/canonicalize.mlir

  Log Message:
  -----------
  [mlir][vector] Add foldInsertUseChain folder function to insert op (#147045)

When the result of an insert op is used by an insert op, and the
subsequent insert op is inserted at the same location as the previous
insert op, replaces the dest of the subsequent insert op with the dest
of the previous insert op.This is because the previous insert op does
not affect subsequent insert ops.

---------

Co-authored-by: Mehdi Amini <joker.eph at gmail.com>
Co-authored-by: Andrzej WarzyƄski <andrzej.warzynski at gmail.com>



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