@@ -11746,9 +11746,9 @@ def err_omp_inscan_reduction_expected : Error<
11746
11746
def note_omp_previous_inscan_reduction : Note<
11747
11747
"'reduction' clause with 'inscan' modifier is used here">;
11748
11748
def err_omp_multivar_xteam_scan_unsupported : Error<
11749
- "multiple list items are not yet supported with the 'inclusive' or the 'exclusive' clauses that appear with the 'scan' directive">;
11749
+ "multiple list items are not yet supported with the 'inclusive' or the 'exclusive' clauses that appear with the 'scan' directive">;
11750
11750
def err_omp_xteam_scan_prohibited : Error<
11751
- "'scan' directive is not supported inside target regions. Use flag '-fopenmp-target-xteam-scan' to enable it">;
11751
+ "'scan' directive is not supported inside target regions. Use flag '-fopenmp-target-xteam-scan' to enable it">;
11752
11752
def err_omp_expected_predefined_allocator : Error<
11753
11753
"expected one of the predefined allocators for the variables with the static "
11754
11754
"storage: 'omp_default_mem_alloc', 'omp_large_cap_mem_alloc', "
@@ -13066,4 +13066,14 @@ def err_acc_invalid_modifier
13066
13066
// AMDGCN builtins diagnostics
13067
13067
def err_amdgcn_load_lds_size_invalid_value : Error<"invalid size value">;
13068
13068
def note_amdgcn_load_lds_size_valid_value : Note<"size must be %select{1, 2, or 4|1, 2, 4, 12 or 16}0">;
13069
+ def err_amdgcn_processor_is_arg_not_literal
13070
+ : Error<"the argument to __builtin_amdgcn_processor_is must be a string "
13071
+ "literal">;
13072
+ def err_amdgcn_processor_is_arg_invalid_value
13073
+ : Error<"the argument to __builtin_amdgcn_processor_is must be a valid "
13074
+ "AMDGCN processor identifier; '%0' is not valid">;
13075
+ def err_amdgcn_is_invocable_arg_invalid_value
13076
+ : Error<"the argument to __builtin_amdgcn_is_invocable must be either a "
13077
+ "target agnostic builtin or an AMDGCN target specific builtin; `%0`"
13078
+ " is not valid">;
13069
13079
} // end of sema component.
0 commit comments