The 0-D case gets lowered in almost the same way that the 1-D case does
in VectorCreateMaskOpConversion. I also had to slightly update the
verifier for the op to always require exactly 1 operand in the 0-D case.
Depends On D115220
Paths
| Differential D115221
[mlir][Vector] Support 0-D vectors in `CreateMaskOp` ClosedPublic Authored by michalt on Dec 6 2021, 10:47 PM.
Details Summary The 0-D case gets lowered in almost the same way that the 1-D case does Depends On D115220
Diff Detail
Event Timeline
This revision is now accepted and ready to land.Dec 8 2021, 5:37 AM Comment Actions Thanks for the review! Could I ask you to also land this? (I don't have commit access) This revision was landed with ongoing or failed builds.Dec 12 2021, 5:36 AM Closed by commit rG408553dd9679: [mlir][Vector] Support 0-D vectors in `CreateMaskOp` (authored by nicolasvasilache). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 392657 mlir/include/mlir/Dialect/Vector/VectorOps.td
mlir/lib/Dialect/Vector/VectorOps.cpp
mlir/lib/Dialect/Vector/VectorTransforms.cpp
mlir/test/Conversion/VectorToLLVM/vector-to-llvm.mlir
mlir/test/Dialect/Vector/invalid.mlir
mlir/test/Integration/Dialect/Vector/CPU/test-0-d-vectors.mlir
|
Please add a test for this message.