[llvm] [AMDGPU][True16][MC] Support VOP3 only instructions with true16 and fake16 (PR #109891)
Joe Nash via llvm-commits
llvm-commits at lists.llvm.org
Thu Sep 26 07:13:03 PDT 2024
================
@@ -1679,9 +1682,14 @@ multiclass VOP2_Real_e32_gfx11_gfx12<bits<6> op> :
multiclass VOP3Only_Realtriple_gfx11_gfx12<bits<10> op> :
VOP3Only_Realtriple<GFX11Gen, op>, VOP3Only_Realtriple<GFX12Gen, op>;
-multiclass VOP3Only_Realtriple_t16_gfx11_gfx12<bits<10> op, string asmName> :
- VOP3Only_Realtriple_t16<GFX11Gen, op, asmName>,
- VOP3Only_Realtriple_t16<GFX12Gen, op, asmName>;
+multiclass VOP3Only_Realtriple_t16_gfx11_gfx12<bits<10> op, string asmName, string OpName = NAME> :
+ VOP3Only_Realtriple_t16<GFX11Gen, op, asmName, OpName>,
+ VOP3Only_Realtriple_t16<GFX12Gen, op, asmName, OpName>;
+
+multiclass VOP3Only_Realtriple_t16_and_f16_gfx11_gfx12<bits<10> op, string asmName, string OpName = NAME> {
----------------
Sisyph wrote:
Change f16 to fake16. f16 is something else.
https://github.com/llvm/llvm-project/pull/109891
More information about the llvm-commits
mailing list