[clang] [llvm] [LLVM][AMDGPU] Add Intrinsic and Builtin for ds_bpermute_fi_b32 (PR #124616)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Tue Jan 28 03:41:33 PST 2025
================
@@ -699,7 +699,8 @@ def DS_PERMUTE_B32 : DS_1A1D_PERMUTE <"ds_permute_b32",
int_amdgcn_ds_permute>;
def DS_BPERMUTE_B32 : DS_1A1D_PERMUTE <"ds_bpermute_b32",
int_amdgcn_ds_bpermute>;
-def DS_BPERMUTE_FI_B32 : DS_1A1D_PERMUTE <"ds_bpermute_fi_b32">;
+def DS_BPERMUTE_FI_B32 : DS_1A1D_PERMUTE <"ds_bpermute_fi_b32",
----------------
jayfoad wrote:
Predicate on this should be isGFX12Plus not isGFX8Plus, and you should check that trying to use llvm.amdgcn.ds.bpermute.fi.b32 pre-GFX12 fails cleanly with a "cannot select" error.
https://github.com/llvm/llvm-project/pull/124616
More information about the llvm-commits
mailing list