[all-commits] [llvm/llvm-project] 763052: [mlir][vector] Add pattern to shuffle bitcast ops
Lei Zhang via All-commits
all-commits at lists.llvm.org
Fri Feb 5 14:53:21 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 7630520ae3c5af3f3536a81740cf316d3a21304e
https://github.com/llvm/llvm-project/commit/7630520ae3c5af3f3536a81740cf316d3a21304e
Author: Lei Zhang <antiagainst at google.com>
Date: 2021-02-05 (Fri, 05 Feb 2021)
Changed paths:
M mlir/include/mlir/Dialect/Vector/VectorOps.h
M mlir/lib/Dialect/Vector/VectorTransforms.cpp
M mlir/test/Dialect/Vector/vector-transforms.mlir
M mlir/test/lib/Transforms/TestVectorTransforms.cpp
Log Message:
-----------
[mlir][vector] Add pattern to shuffle bitcast ops
These patterns move vector.bitcast ops to be before
insert ops or after extract ops where suitable.
With them, bitcast will happen on smaller vectors
and there are more chances to share extract/insert
ops.
Reviewed By: ThomasRaoux
Differential Revision: https://reviews.llvm.org/D96040
More information about the All-commits
mailing list