Merge pull request #3431 from bjorn3/remove_sarg_t

Remove the sarg_t type and dummy_sarg_t instruction
This commit is contained in:
Pat Hickey
2021-10-10 09:58:14 -07:00
committed by GitHub
8 changed files with 3 additions and 56 deletions

View File

@@ -3560,8 +3560,6 @@ pub(crate) fn lower_insn_to_regs<C: LowerCtx<I = Inst>>(
panic!("ALU+imm and ALU+carry ops should not appear here!");
}
Opcode::DummySargT => unreachable!(),
Opcode::Iabs => {
let rd = get_output_reg(ctx, outputs[0]).only_reg().unwrap();
let rn = put_input_in_reg(ctx, inputs[0], NarrowValueMode::None);

View File

@@ -2895,7 +2895,6 @@ fn lower_insn_to_regs<C: LowerCtx<I = Inst>>(
| Opcode::AdjustSpDown
| Opcode::AdjustSpUpImm
| Opcode::AdjustSpDownImm
| Opcode::DummySargT
| Opcode::IfcmpSp => {
panic!("Unused opcode should not be encountered.");
}

View File

@@ -6870,8 +6870,7 @@ fn lower_insn_to_regs<C: LowerCtx<I = Inst>>(
| Opcode::AdjustSpUpImm
| Opcode::AdjustSpDownImm
| Opcode::IfcmpSp
| Opcode::Copy
| Opcode::DummySargT => {
| Opcode::Copy => {
panic!("Unused opcode should not be encountered.");
}