This is useful when doing lowering to reduce operations rank.
It also adds support for a corner case in extract from shapecast op.
Paths
| Differential D101643
[mlir][vector] Add canonicalization for extract/insert -> shapecast ClosedPublic Authored by ThomasRaoux on Apr 30 2021, 9:04 AM.
Details Summary This is useful when doing lowering to reduce operations rank. It also adds support for a corner case in extract from shapecast op.
Diff Detail
Event TimelineHerald added subscribers: dcaballe, cota, teijeong and 15 others. · View Herald TranscriptApr 30 2021, 9:04 AM ThomasRaoux retitled this revision from [mlir][vector] Add caonicalization for extract/insert -> shapecast to [mlir][vector] Add canonicalization for extract/insert -> shapecast.Apr 30 2021, 9:09 AM This revision is now accepted and ready to land.Apr 30 2021, 2:15 PM Closed by commit rG7417541fd8d7: [mlir][vector] Add canonicalization for extract/insert -> shapecast (authored by ThomasRaoux). · Explain WhyMay 3 2021, 10:45 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 342462 mlir/include/mlir/Dialect/Vector/VectorOps.td
mlir/lib/Dialect/Vector/VectorOps.cpp
mlir/test/Dialect/Vector/canonicalize.mlir
|