================
@@ -11480,6 +11480,16 @@ def err_builtin_non_vector_type : Error<
def err_convertvector_incompatible_vector : Error<
"first two arguments to __builtin_convertvector must have the same number of
elements">;
+def err_arbitrary_fp_source_type : Error<
+ "argument of type %0 cannot hold an '%1' encoding; expected an integer of "
+ "exactly %2 bits, a vector of such integers, or __mfp8">;
+def err_arbitrary_fp_source_width : Error<
+ "%select{argument type|vector element type}0 %1 must be exactly %2 bits "
+ "wide to hold an '%3' encoding">;
+def err_arbitrary_fp_unsupported_vector : Error<
+ "argument of type %0 has an unsupported vector kind; only GNU "
+ "'vector_size' and Clang 'ext_vector_type' vectors are supported">;
----------------
MrSidims wrote:
I feel like err_builtin_invalid_arg_type would be enough
https://github.com/llvm/llvm-project/pull/212647
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits