This is an archive of the discontinued LLVM Phabricator instance.

[mlir][tosa] Ranked check for transpose was wrong.
ClosedPublic

Authored by rsuderman on Sep 28 2021, 6:49 PM.

Details

Summary

Should have verified the perm length and input rank were the same before
inferring shape. Caused a crash with invalid IR.

Diff Detail

Event Timeline

rsuderman created this revision.Sep 28 2021, 6:49 PM
rsuderman requested review of this revision.Sep 28 2021, 6:49 PM
NatashaKnk accepted this revision.Sep 29 2021, 2:46 AM
This revision is now accepted and ready to land.Sep 29 2021, 2:46 AM
This revision was automatically updated to reflect the committed changes.