This is an archive of the discontinued LLVM Phabricator instance.

[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 Timeline

ThomasRaoux created this revision.Apr 30 2021, 9:04 AM
ThomasRaoux requested review of this revision.Apr 30 2021, 9:04 AM
Herald added a project: Restricted Project. · 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
nicolasvasilache accepted this revision.Apr 30 2021, 2:15 PM
This revision is now accepted and ready to land.Apr 30 2021, 2:15 PM