This is an archive of the discontinued LLVM Phabricator instance.

[mlir][vector] Fix bug in extractOp folding
ClosedPublic

Authored by ThomasRaoux on Dec 22 2022, 1:57 AM.

Details

Summary

We were missing to check for transpose when folding.
Also add a new file to test folding independently of canonicalization as canonicalization was hiding the bug.

Diff Detail

Event Timeline

ThomasRaoux created this revision.Dec 22 2022, 1:57 AM
Herald added a project: Restricted Project. · View Herald Transcript
ThomasRaoux requested review of this revision.Dec 22 2022, 1:57 AM
Herald added a project: Restricted Project. · View Herald Transcript
aartbik accepted this revision.Dec 22 2022, 9:31 AM
This revision is now accepted and ready to land.Dec 22 2022, 9:31 AM
This revision was automatically updated to reflect the committed changes.