[clang] [llvm] [AMDGPU] Extend __builtin_amdgcn_ds_bpermute argument types (PR #153501)
Matt Arsenault via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 10 21:00:27 PDT 2025
================
@@ -13598,4 +13598,8 @@ def warn_acc_var_referenced_lacks_op
// AMDGCN builtins diagnostics
def err_amdgcn_load_lds_size_invalid_value : Error<"invalid size value">;
def note_amdgcn_load_lds_size_valid_value : Note<"size must be %select{1, 2, or 4|1, 2, 4, 12 or 16}0">;
+def warn_amdgcn_builtin_arg_truncation
+ : Warning<"the %0-bit argument will be truncated to %1 bits in this call "
+ "to %2">,
+ InGroup<DiagGroup<"amdgcn-builtin-arg-trunc">>;
----------------
arsenm wrote:
I don't think this should permit or require special truncation
https://github.com/llvm/llvm-project/pull/153501
More information about the llvm-commits
mailing list