================
@@ -399,6 +399,15 @@ mlir::Type CIRGenTypes::convertType(QualType type) {
     break;
   }
 
+  case Type::ExtVector:
+  case Type::Vector: {
+    const VectorType *vec = cast<VectorType>(ty);
+    const mlir::Type elemTy = convertTypeForMem(vec->getElementType());
+    resultType = cir::VectorType::get(builder.getContext(), elemTy,
+                                      vec->getNumElements());
----------------
xlauko wrote:

Reflect changes to builders:


```suggestion
    resultType = cir::VectorType::get(elemTy, vec->getNumElements());
```

https://github.com/llvm/llvm-project/pull/136488
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to