Prevent creating a vector of size 0 that would fail verifier.
Vector 1d with a single element should be treated like 0d vectors.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D141452
[mlir][vector] Fix crash in extractelement vec distribution ClosedPublic Authored by ThomasRaoux on Jan 10 2023, 5:45 PM.
Details Summary Prevent creating a vector of size 0 that would fail verifier.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Jan 10 2023, 6:11 PM This revision was landed with ongoing or failed builds.Jan 10 2023, 6:35 PM Closed by commit rG069d7d7e4868: [mlir][vector] Fix crash in extractelement vec distribution (authored by ThomasRaoux). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 488056 mlir/lib/Dialect/Vector/Transforms/VectorDistribute.cpp
mlir/test/Dialect/Vector/vector-warp-distribute.mlir
|