[all-commits] [llvm/llvm-project] f0fe38: [mlir][vector] Add fold pattern to constant-fold I...
Jakub Kuderski via All-commits
all-commits at lists.llvm.org
Mon Nov 28 11:28:59 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: f0fe38035c92bae9ccc827097ab55b37e2427a29
https://github.com/llvm/llvm-project/commit/f0fe38035c92bae9ccc827097ab55b37e2427a29
Author: Jakub Kuderski <kubak at google.com>
Date: 2022-11-28 (Mon, 28 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 to constant-fold InsertStridedSliceOp
Fold InsertStridedOp(ConstantOp into ConstantOp) -> ConstantOp.
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: antiagainst
Differential Revision: https://reviews.llvm.org/D138739
More information about the All-commits
mailing list