We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fe386a commit 521aec0Copy full SHA for 521aec0
mlir/lib/Dialect/SPIRV/Transforms/SPIRVConversion.cpp
@@ -1438,7 +1438,7 @@ int mlir::spirv::getComputeVectorSize(int64_t size) {
1438
SmallVector<int64_t>
1439
mlir::spirv::getNativeVectorShapeImpl(vector::ToElementsOp op) {
1440
VectorType srcVectorType = op.getSourceVectorType();
1441
- assert(srcVectorType.getRank() == 1); // Guaranteed by semantics
+ assert(srcVectorType.getRank() == 1); // Guaranteed by UnrollToElements.
1442
int64_t vectorSize =
1443
mlir::spirv::getComputeVectorSize(srcVectorType.getDimSize(0));
1444
return {vectorSize};
0 commit comments