[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:51:04 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:

There is nothing inherently GFX12-specific about these aliases. It is just that SP3 happened to add them in the GFX12 timeframe.

https://github.com/llvm/llvm-project/pull/83408


More information about the llvm-commits mailing list