This is an archive of the discontinued LLVM Phabricator instance.

[vector] When trimming leading insertion dimensions, base the final result on the ranks
ClosedPublic

Authored by bkramer on Apr 18 2023, 8:00 AM.

Details

Summary

This was incorrect when the number of dropped source dims was smaller
than the number of dropped dst dims. We still need to insert zeros if
there is anything dropped from the src.

Diff Detail

Event Timeline

bkramer created this revision.Apr 18 2023, 8:00 AM
Herald added a project: Restricted Project. · View Herald Transcript
bkramer requested review of this revision.Apr 18 2023, 8:00 AM
tyb0807 accepted this revision.Apr 18 2023, 9:26 AM

Thanks for the fix!

This revision is now accepted and ready to land.Apr 18 2023, 9:26 AM
dcaballe accepted this revision.Apr 18 2023, 9:35 AM

Thanks!