tensor with dims of size 0 cannot be vectorized. Add precondition to
prevent a crash in vectorization.
Details
Details
Diff Detail
Diff Detail
Paths
| Differential D143462
[mlir][linalg] Check for tensor of 0 dims during vectorization ClosedPublic Authored by ThomasRaoux on Feb 6 2023, 10:16 PM.
Details Summary tensor with dims of size 0 cannot be vectorized. Add precondition to
Diff Detail Event TimelineThis revision is now accepted and ready to land.Feb 6 2023, 10:29 PM This revision was landed with ongoing or failed builds.Feb 6 2023, 10:34 PM Closed by commit rGd18523c0430c: [mlir][linalg] Check for tensor of 0 dims during vectorization (authored by ThomasRaoux). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 495379 mlir/lib/Dialect/Linalg/Transforms/Vectorization.cpp
mlir/test/Dialect/Linalg/vectorization.mlir
|