[llvm] [Mips] When emit instruction, ignore JUMP_TABLE_DEBUG_INFO (PR #139830)
YunQiang Su via llvm-commits
llvm-commits at lists.llvm.org
Wed May 14 04:23:52 PDT 2025
================
@@ -269,6 +269,17 @@ 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:
I mean emit a comment line into the asm output with some useful information.
https://github.com/llvm/llvm-project/pull/139830
More information about the llvm-commits
mailing list