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

via llvm-commits llvm-commits at lists.llvm.org
Wed May 14 03:09:23 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)
----------------
yingopq wrote:

Applied.

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


More information about the llvm-commits mailing list