================
@@ -656,6 +656,14 @@ LogicalResult cir::CastOp::verify() {
              << "requires floating point !cir.complex type for result";
     return success();
   }
+  case cir::CastKind::vector_to_int: {
+    auto vectorTy = mlir::dyn_cast<cir::VectorType>(srcType);
+    if (!vectorTy)
----------------
Lancern wrote:

```suggestion
    if (!mlir::isa<cir::VectorType>(srcType))
```

https://github.com/llvm/llvm-project/pull/174318
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to