[llvm] [AMDGPU] Create AMDGPUMnemonicAlias tablegen class (PR #89288)
Joe Nash via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 18 14:10:05 PDT 2024
================
@@ -143,14 +143,14 @@ multiclass VOP1Inst <string opName, VOPProfile P,
def _e64_dpp : VOP3_DPP_Pseudo <opName, P>;
} // End SubtargetPredicate = isGFX11Plus
- def : MnemonicAlias<opName#"_e32", opName>, LetDummies;
- def : MnemonicAlias<opName#"_e64", opName>, LetDummies;
+ def : LetDummies, AMDGPUMnemonicAlias<opName#"_e32", opName>;
----------------
Sisyph wrote:
There are various fields set as outer lets such as isReMaterializable, mayRaiseFPException etc. set on VOP1Inst. I briefly tried to add LetDummies to AMDGPUMnemonicInst, but it was not trivial.
https://github.com/llvm/llvm-project/pull/89288
More information about the llvm-commits
mailing list