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
Paths
| Differential D114598
[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 Depends On D114549
Diff Detail
Event Timelinemichalt added a child revision: D114550: [mlir][Vector] Support 0-D vectors in `BroadcastOp`.Nov 25 2021, 7:44 AM This revision is now accepted and ready to land.Nov 25 2021, 12:11 PM Comment Actions I cannot seem to be able to arc patch this and submit it for you. Could you please rebase on main and update? Thanks! Comment Actions Thanks a lot for the review! I've rebased both changes, so hopefully everything works now. :) Closed by commit rGd0f927121ece: [mlir][Standard] Support 0-D vectors in `SplatOp` (authored by michalt, committed by nicolasvasilache). · Explain WhyNov 26 2021, 9:05 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 390081 mlir/include/mlir/Dialect/StandardOps/IR/Ops.td
mlir/lib/Conversion/StandardToLLVM/StandardToLLVM.cpp
mlir/test/Conversion/StandardToLLVM/standard-to-llvm.mlir
mlir/test/Integration/Dialect/Vector/CPU/test-0-d-vectors.mlir
|