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

Corbin Robeck via llvm-commits llvm-commits at lists.llvm.org
Tue Feb 27 06:32:02 PST 2024


================
@@ -9115,14 +9115,82 @@ bool SIInstrInfo::isAsmOnlyOpcode(int MCOp) const {
   }
 }
 
+bool SIInstrInfo::isRenamedInGFX9(int Opcode) const {
+  switch (Opcode) {
+  case AMDGPU::V_ADDC_U32_dpp:
----------------
CRobeck wrote:

Macro is probably cleaner. Good suggestion.

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


More information about the llvm-commits mailing list