[all-commits] [llvm/llvm-project] 5d05d2: [mlir][vector] Add fold pattern for InsertOp(Const...

Jakub Kuderski via All-commits all-commits at lists.llvm.org
Fri Nov 25 20:03:13 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d05d2966f4394e7f3fd5708ecc6f1b1c1156145
      https://github.com/llvm/llvm-project/commit/5d05d2966f4394e7f3fd5708ecc6f1b1c1156145
  Author: Jakub Kuderski <kubak at google.com>
  Date:   2022-11-25 (Fri, 25 Nov 2022)

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

  Log Message:
  -----------
  [mlir][vector] Add fold pattern for InsertOp(Constant into Constant)

This pattern comes with vector size threshold to make sure we do not
introduce too many large constants.

This help clean up code created by the Wide Integer Emulation pass.

Reviewed By: dcaballe

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




More information about the All-commits mailing list