[llvm] [AMDGPU] Add new aliases ds_subrev_rtn_u32/u64 for ds_rsub_rtn_u32/u64 (PR #83408)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Thu Feb 29 03:49:31 PST 2024
================
@@ -27,5 +27,11 @@ ds_min_rtn_f64 v[5:6], v1, v[2:3]
ds_subrev_u32 v1, v2
// GFX12: ds_rsub_u32 v1, v2 ; encoding: [0x00,0x00,0x08,0xd8,0x01,0x02,0x00,0x00]
+ds_subrev_rtn_u32 v5, v1, v2
----------------
jayfoad wrote:
I don't think we normally go that far, but I suppose it can't hurt to check that they are not recognized on GFX11.
https://github.com/llvm/llvm-project/pull/83408
More information about the llvm-commits
mailing list