================
@@ -499,6 +499,16 @@ def CIR_ArrayType : CIR_Type<"Array", "array", [
 // VectorType
 
//===----------------------------------------------------------------------===//
 
+// FIXME: This corresponds to the clang::VectorKind enum. We will eventually
+//        need to match more (though possibly not all) of the entries there. It
+//        would be nice to have a way to generate both from a common source or
+//        at least tablegen the conversion handling.
+def CIR_VectorKind : CIR_I32Enum<"VectorKind", "vector kind", [
+    I32EnumCase<"Generic", 0, "generic">,
+    I32EnumCase<"SVEData", 1, "sve_data">,
+    I32EnumCase<"SVEPredicate", 2, "sve_predicate">
----------------
andykaylor wrote:

On further investigation, I see that we weren't actually supporting `svcount` 
before, so I'll defer that to a follow-up.

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

Reply via email to