This is an archive of the discontinued LLVM Phabricator instance.

[mlir][Standard] Support 0-D vectors in `SplatOp`
ClosedPublic

Authored by michalt on Nov 25 2021, 7:35 AM.

Details

Summary

This changes the op to produce AnyVectorOfAnyRank and implements this by just
inserting the element (skipping the shuffle that we do for the 1-D case).

Depends On D114549

Diff Detail

Event Timeline

michalt created this revision.Nov 25 2021, 7:35 AM
michalt requested review of this revision.Nov 25 2021, 7:35 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 25 2021, 7:35 AM
michalt edited the summary of this revision. (Show Details)Nov 25 2021, 7:46 AM

Thanks for decomposing into an easy to review PR, LGTM!

This revision is now accepted and ready to land.Nov 25 2021, 12:11 PM

I cannot seem to be able to arc patch this and submit it for you.

Could you please rebase on main and update?

Thanks!

Thanks a lot for the review! I've rebased both changes, so hopefully everything works now. :)

This revision was automatically updated to reflect the committed changes.