[all-commits] [llvm/llvm-project] bbe5ce: [Mips] When emit instruction, ignore JUMP_TABLE_DE...
yingopq via All-commits
all-commits at lists.llvm.org
Fri Jun 6 00:44:42 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bbe5ceb22fab1049215711936e40458b2ea4e707
https://github.com/llvm/llvm-project/commit/bbe5ceb22fab1049215711936e40458b2ea4e707
Author: yingopq <115543042+yingopq at users.noreply.github.com>
Date: 2025-06-06 (Fri, 06 Jun 2025)
Changed paths:
M llvm/lib/Target/Mips/MipsDelaySlotFiller.cpp
M llvm/test/CodeGen/Mips/jumptable_labels.ll
Log Message:
-----------
[Mips] When emit instruction, ignore JUMP_TABLE_DEBUG_INFO (#139830)
When -triple is windows, SelectionDAGLegalize process Legalizing br_jt,
would generate ISD::JUMP_TABLE_DEBUG_INFO.
Then Mips process emitInstruction, would think JUMP_TABLE_DEBUG_INFO is
a pseudo instruction and generate an error `Pseudo opcode found in
emitInstruction()`.
This instruction `TargetOpcode::JUMP_TABLE_DEBUG_INFO` is only used to
note jump table debug info, so we can ignore it when Mips emit
instruction.
Fix #134916.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list