[llvm] [Mips] When emit instruction, ignore JUMP_TABLE_DEBUG_INFO (PR #139830)

YunQiang Su via llvm-commits llvm-commits at lists.llvm.org
Tue May 13 20:52:45 PDT 2025


================
@@ -269,6 +269,10 @@ void MipsAsmPrinter::emitInstruction(const MachineInstr *MI) {
       continue;
     }
 
+    // This instruction is only used to note jump table debug info, we
+    // did not need to emit it.
+    if (I->getOpcode() == TargetOpcode::JUMP_TABLE_DEBUG_INFO)
----------------
wzssyqa wrote:

Should it emit some debug info?

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


More information about the llvm-commits mailing list