@@ -10789,35 +10789,28 @@ def err_matrix_separate_incomplete_index: Error<
10789
10789
"matrix row and column subscripts cannot be separated by any expression">;
10790
10790
def err_matrix_subscript_comma: Error<
10791
10791
"comma expressions are not allowed as indices in matrix subscript expressions">;
10792
-
10793
- def warn_mismatched_import : Warning<
10794
- "import %select{module|name}0 (%1) does not match the import %select{module|name}0 (%2) of the "
10795
- "previous declaration">,
10796
- InGroup<IgnoredAttributes>;
10797
- def warn_import_on_definition : Warning<
10798
- "import %select{module|name}0 cannot be applied to a function with a definition">,
10799
- InGroup<IgnoredAttributes>;
10800
-
10801
10792
def err_builtin_matrix_arg: Error<"first argument must be a matrix">;
10802
-
10803
10793
def err_builtin_matrix_scalar_unsigned_arg: Error<
10804
10794
"%0 argument must be a constant unsigned integer expression">;
10805
-
10806
10795
def err_builtin_matrix_pointer_arg: Error<
10807
10796
"%0 argument must be a pointer to a valid matrix element type">;
10808
-
10809
10797
def err_builtin_matrix_pointer_arg_mismatch: Error<
10810
10798
"the pointee of the second argument must match the element type of the first argument (%0 != %1)">;
10811
-
10812
10799
def err_builtin_matrix_store_to_const: Error<
10813
10800
"cannot store matrix to read-only pointer">;
10814
-
10815
10801
def err_builtin_matrix_stride_too_small: Error<
10816
10802
"stride must be greater or equal to the number of rows">;
10817
-
10818
10803
def err_builtin_matrix_invalid_dimension: Error<
10819
10804
"%0 dimension is outside the allowed range [1, %1]">;
10820
10805
10806
+ def warn_mismatched_import : Warning<
10807
+ "import %select{module|name}0 (%1) does not match the import %select{module|name}0 (%2) of the "
10808
+ "previous declaration">,
10809
+ InGroup<IgnoredAttributes>;
10810
+ def warn_import_on_definition : Warning<
10811
+ "import %select{module|name}0 cannot be applied to a function with a definition">,
10812
+ InGroup<IgnoredAttributes>;
10813
+
10821
10814
def err_preserve_field_info_not_field : Error<
10822
10815
"__builtin_preserve_field_info argument %0 not a field access">;
10823
10816
def err_preserve_field_info_not_const: Error<
0 commit comments