CodeGen: Do not define LOCAL_ESCAPE with ptr_rc (#158765)

ptr_rc is used to resolve an operand to a register class. This
is not used with a virtual register, but a label so remove
the use.
This commit is contained in:
Matt Arsenault
2025-09-18 08:08:50 +09:00
committed by GitHub
parent 53e9d31fd4
commit 18420d833d

View File

@@ -1415,9 +1415,9 @@ def PREALLOCATED_ARG : StandardPseudoInstruction {
def LOCAL_ESCAPE : StandardPseudoInstruction {
// This instruction is really just a label. It has to be part of the chain so
// that it doesn't get dropped from the DAG, but it produces nothing and has
// no side effects.
// no side effects. Symbol operand is expected to be a label.
let OutOperandList = (outs);
let InOperandList = (ins ptr_rc:$symbol, i32imm:$id);
let InOperandList = (ins unknown:$symbol, i32imm:$id);
let hasSideEffects = false;
let hasCtrlDep = true;
}