[llvm] bf7f62a - [AMDGPU] Make use of Mnem_gfx11_gfx12. NFC.
Jay Foad via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 7 02:06:58 PST 2024
Author: Jay Foad
Date: 2024-03-07T10:06:51Z
New Revision: bf7f62ab92241298ccd7af008b3b26daac9c220b
URL: https://github.com/llvm/llvm-project/commit/bf7f62ab92241298ccd7af008b3b26daac9c220b
DIFF: https://github.com/llvm/llvm-project/commit/bf7f62ab92241298ccd7af008b3b26daac9c220b.diff
LOG: [AMDGPU] Make use of Mnem_gfx11_gfx12. NFC.
Added:
Modified:
llvm/lib/Target/AMDGPU/BUFInstructions.td
Removed:
################################################################################
diff --git a/llvm/lib/Target/AMDGPU/BUFInstructions.td b/llvm/lib/Target/AMDGPU/BUFInstructions.td
index b984126d844722..9c6934865bfa55 100644
--- a/llvm/lib/Target/AMDGPU/BUFInstructions.td
+++ b/llvm/lib/Target/AMDGPU/BUFInstructions.td
@@ -2902,7 +2902,7 @@ multiclass MTBUF_Real_AllAddr_gfx11_gfx12<bits<4> op>
multiclass MTBUF_Real_AllAddr_gfx11_gfx12_Renamed<bits<4> op, string real_name>
: MTBUF_Real_AllAddr_gfx11_gfx12_Renamed_Impl<op, real_name> {
defvar ps = get_BUF_ps<NAME>;
- def : MnemonicAlias<ps.Mnemonic, real_name>, Requires<[isGFX11Plus]>;
+ def : Mnem_gfx11_gfx12<ps.Mnemonic, real_name>;
}
defm TBUFFER_LOAD_FORMAT_D16_X : MTBUF_Real_AllAddr_gfx11_gfx12_Renamed<0x008, "tbuffer_load_d16_format_x">;
More information about the llvm-commits
mailing list