[llvm] [AMDGPU] Remove DPP DecoderNamespaces. NFC. (PR #82491)

Jay Foad via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 22 02:46:34 PST 2024


================
@@ -222,6 +222,8 @@ class VOPCInstAlias <VOP3_Pseudo ps, Instruction inst,
 
   let AsmVariantName = AMDGPUAsmVariants.Default;
   let SubtargetPredicate = AssemblerPredicate;
+
+  string DecoderNamespace; // dummy
----------------
jayfoad wrote:

I could probably make `VOPCInstAlias` inherit from `LetDummies` instead. Would you prefer that? It is quite a common pattern in our backend.

To remove the dummy completely I would have to abandon the cleanup in e.g. `VOPC_Real_Base` below, where I use one big `let ...` instead five small ones.

https://github.com/llvm/llvm-project/pull/82491


More information about the llvm-commits mailing list