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.
Depends On D95873
Paths
| Differential D96040
[mlir][vector] Add pattern to shuffle bitcast ops ClosedPublic Authored by antiagainst on Feb 4 2021, 7:58 AM.
Details Summary These patterns move vector.bitcast ops to be before Depends On D95873
Diff Detail
Event Timelineantiagainst added a child revision: D96041: [mlir][vector] Add constant folding for fp16 to fp32 bitcast.Feb 4 2021, 8:00 AM This revision is now accepted and ready to land.Feb 5 2021, 2:33 PM This revision was landed with ongoing or failed builds.Feb 5 2021, 2:53 PM Closed by commit rG7630520ae3c5: [mlir][vector] Add pattern to shuffle bitcast ops (authored by antiagainst). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 321884 mlir/include/mlir/Dialect/Vector/VectorOps.h
mlir/lib/Dialect/Vector/VectorTransforms.cpp
mlir/test/Dialect/Vector/vector-transforms.mlir
mlir/test/lib/Transforms/TestVectorTransforms.cpp
|