[llvm] [Mips] When emit instruction, ignore JUMP_TABLE_DEBUG_INFO (PR #139830)
via llvm-commits
llvm-commits at lists.llvm.org
Wed Jun 4 00:02:07 PDT 2025
================
@@ -694,8 +694,10 @@ bool MipsDelaySlotFiller::searchRange(MachineBasicBlock &MBB, IterTy Begin,
IterTy CurrI = I;
++I;
LLVM_DEBUG(dbgs() << DEBUG_TYPE ": checking instruction: "; CurrI->dump());
- // skip debug value
- if (CurrI->isDebugInstr()) {
+ // Skip debug value.
+ // Instruction TargetOpcode::JUMP_TABLE_DEBUG_INFO is only used to note
+ // jump table debug info, we did not need to emit it.
----------------
yingopq wrote:
Thanks, I delete that part.
https://github.com/llvm/llvm-project/pull/139830
More information about the llvm-commits
mailing list