[AMDGPU] GFX11: accept global_atomic_csub as an alias
authorJay Foad <jay.foad@amd.com>
Thu, 2 Feb 2023 13:38:37 +0000 (13:38 +0000)
committerJay Foad <jay.foad@amd.com>
Thu, 2 Feb 2023 17:09:02 +0000 (17:09 +0000)
commit7747a142abcaa6406d509846ccd4bdcc17c7fd2a
treed477c9d3d655d98d23f23f33c40b0946ea1a04b7
parentda3e4770883d2b7ba2269a663cdb9aaaa2e7ee69
[AMDGPU] GFX11: accept global_atomic_csub as an alias

GFX11 renamed this instruction to global_atomic_csub_u32 but should
accept the old name as an alias, for consistency with the other global
atomics and with buffer_atomic_csub.

Differential Revision: https://reviews.llvm.org/D143176
llvm/lib/Target/AMDGPU/FLATInstructions.td
llvm/test/MC/AMDGPU/gfx11_asm_flat.s