0-D vectors are now supported, so the special case of returning the just
the element type can now be removed.
A few callers that relied on the old behaviour have been updated.
Paths
| Differential D159122
[mlir][BuiltinTypes] Return VectorType from VectorType::Builder conversion operator ClosedPublic Authored by benmxwl-arm on Aug 29 2023, 10:56 AM.
Details Summary 0-D vectors are now supported, so the special case of returning the just A few callers that relied on the old behaviour have been updated.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Aug 29 2023, 11:05 AM Comment Actions LGTM, thanks! Btw, shouldn't this be updated too: https://github.com/llvm/llvm-project/blob/6862f0fab12176c7e4cdc095409deea7c26dde04/mlir/lib/Dialect/Vector/IR/VectorOps.cpp#L688-L690 ? Comment Actions
I don't think it needs to be updated (does not look like that depends on rank 0 vectors decomposing to element types) This revision was landed with ongoing or failed builds.Aug 30 2023, 6:47 AM Closed by commit rG296d5cb60c20: [mlir][BuiltinTypes] Return VectorType from VectorType::Builder conversion… (authored by benmxwl-arm). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 554697 mlir/include/mlir/IR/BuiltinTypes.h
mlir/lib/Dialect/Vector/IR/VectorOps.cpp
mlir/lib/Dialect/Vector/Transforms/LowerVectorContract.cpp
|