Skip to content

Commit f84789f

Browse files
angelz913kuhar
andcommitted
Update mlir/lib/Dialect/SPIRV/Transforms/SPIRVConversion.cpp
Co-authored-by: Jakub Kuderski <[email protected]>
1 parent 3ca24ea commit f84789f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/SPIRV/Transforms/SPIRVConversion.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ FuncOpVectorUnroll::matchAndRewrite(func::FuncOp funcOp,
909909
size_t origInputNo = argType.index();
910910
Type origType = argType.value();
911911
// Check whether the argument is of vector type.
912-
auto origVecType = llvm::dyn_cast<VectorType>(origType);
912+
auto origVecType = dyn_cast<VectorType>(origType);
913913
if (!origVecType) {
914914
// We need a placeholder for the old argument that will be erased later.
915915
Value result = rewriter.create<arith::ConstantOp>(

0 commit comments

Comments
 (0)