Skip to content

Commit 95961c0

Browse files
angelz913kuhar
andcommitted
Use VectorType for sourceType
Co-authored-by: Jakub Kuderski <[email protected]>
1 parent 46b49be commit 95961c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Conversion/VectorToSPIRV/VectorToSPIRV.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ struct VectorInterleaveOpConvert final
586586
matchAndRewrite(vector::InterleaveOp interleaveOp, OpAdaptor adaptor,
587587
ConversionPatternRewriter &rewriter) const override {
588588
// Check the source vector type
589-
auto sourceType = interleaveOp.getSourceVectorType();
589+
VectorType sourceType = interleaveOp.getSourceVectorType();
590590
if (sourceType.getRank() != 1 || sourceType.isScalable()) {
591591
return rewriter.notifyMatchFailure(interleaveOp,
592592
"unsupported source vector type");

0 commit comments

Comments
 (0)