Skip to content

Commit e9ac29d

Browse files
committed
dyn_cast -> cast
1 parent 17a775d commit e9ac29d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mlir/lib/Dialect/Polynomial/IR/PolynomialOps.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ LogicalResult MulScalarOp::verify() {
9090
PolynomialType polyType;
9191

9292
if (auto shapedPolyType = dyn_cast<ShapedType>(argType)) {
93-
polyType = dyn_cast<PolynomialType>(shapedPolyType.getElementType());
93+
polyType = cast<PolynomialType>(shapedPolyType.getElementType());
9494
} else {
9595
polyType = cast<PolynomialType>(argType);
9696
}

0 commit comments

Comments
 (0)