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

Sergei Barannikov via llvm-commits llvm-commits at lists.llvm.org
Wed May 14 14:31:37 PDT 2025


s-barannikov wrote:

This pseudo instruction is already skipped by the generic code in `AsmPrinter.cpp`:
https://github.com/llvm/llvm-project/blob/97a58b04c6813d8cab1bfb47ce5023895b016319/llvm/lib/CodeGen/AsmPrinter/AsmPrinter.cpp#L1918

The reason it got to MipsAsmPrinter is because it was bundled with `PseudoIndirectBranch`:
```
  PseudoIndirectBranch killed renamable $at {
    JUMP_TABLE_DEBUG_INFO 0
  }
```
I don't think it is intentional.


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


More information about the llvm-commits mailing list