================
@@ -125,4 +129,81 @@ TEST_F(ABITypesTest, DirectVirtualBasesAndVTablePointer) {
                    ->isEmpty());
 }
 
+TEST_F(ABITypesTest, GenericVector) {
+  const llvm::abi::Type *I32 = TB.getIntegerType(32, Align(4), 
/*Signed=*/true);
+  const VectorType *V4I32 =
+      TB.getVectorType(I32, ElementCount::getFixed(4), Align(16));
+
+  EXPECT_EQ(V4I32->getVectorKind(), VectorKind::Generic);
+  EXPECT_FALSE(V4I32->isSVEType());
+  EXPECT_FALSE(V4I32->isScalable());
----------------
andykaylor wrote:

Done

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

Reply via email to