[llvm] [AMDGPU] Add new aliases ds_subrev_u32/u64 for ds_rsub_u32/u64 (PR #83118)
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 27 02:36:57 PST 2024
================
@@ -23,3 +23,9 @@ ds_min_rtn_f32 v5, v1, v2
ds_min_rtn_f64 v[5:6], v1, v[2:3]
// GFX12: [0x00,0x00,0xc8,0xd9,0x01,0x02,0x00,0x05]
+
+ds_subrev_u32 v1, v2
+// GFX12: [0x00,0x00,0x08,0xd8,0x01,0x02,0x00,0x00]
+
+ds_subrev_u64 v1, v[2:3]
+// GFX12: [0x00,0x00,0x08,0xd9,0x01,0x02,0x00,0x00]
----------------
jayfoad wrote:
Agreed. Done. I will go back and fix the existing tests separately.
https://github.com/llvm/llvm-project/pull/83118
More information about the llvm-commits
mailing list