[llvm] [AMDGPU] Move renamedInGFX9 from TableGen to SIInstrInfo helper function/macro to free up a bit slot (PR #82787)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 25 12:56:52 PDT 2024


================
@@ -9221,13 +9221,43 @@ bool SIInstrInfo::isAsmOnlyOpcode(int MCOp) const {
   }
 }
 
+#define GENERATE_RENAMED_GFX9_CASES(OPCODE)                                    \
+  case OPCODE##_dpp:                                                           \
+  case OPCODE##_e32:                                                           \
+  case OPCODE##_e64:                                                           \
+  case OPCODE##_e64_dpp:                                                       \
+  case OPCODE##_sdwa:
+
+static bool isRenamedInGFX9(int Opcode) {
----------------
arsenm wrote:

I don't like this bit, but I don't really like needing this list of opcodes either 

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


More information about the llvm-commits mailing list