[all-commits] [llvm/llvm-project] 91ab4d: [mlir][Vector] Fold InsertStridedSliceOp of two sp...
Jianjian Guan via All-commits
all-commits at lists.llvm.org
Thu Jun 30 19:56:47 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 91ab4d4231e5b7456d012776c5eeb69fa61ab994
https://github.com/llvm/llvm-project/commit/91ab4d4231e5b7456d012776c5eeb69fa61ab994
Author: jacquesguan <Jianjian.Guan at streamcomputing.com>
Date: 2022-07-01 (Fri, 01 Jul 2022)
Changed paths:
M mlir/include/mlir/Dialect/Vector/IR/VectorOps.td
M mlir/lib/Dialect/Vector/IR/VectorOps.cpp
M mlir/test/Dialect/Vector/canonicalize.mlir
Log Message:
-----------
[mlir][Vector] Fold InsertStridedSliceOp of two splat with the same input to splat.
This patch folds InsertStridedSliceOp(SplatOp(X):src_type, SplatOp(X):dst_type) to SplatOp(X):dst_type.
Reviewed By: Mogball
Differential Revision: https://reviews.llvm.org/D128891
More information about the All-commits
mailing list