Port icmp to ISLE (AArch64) (#4898)
* Port `icmp` to ISLE (AArch64) Ported the existing implementation of `icmp` (and, by extension, the `lower_icmp` function) to ISLE for AArch64. Copyright (c) 2022 Arm Limited * Allow 'producer chains', eliminating `Nop0`s Copyright (c) 2022 Arm Limited
This commit is contained in:
@@ -293,11 +293,7 @@ pub(crate) fn lower_insn_to_regs(
|
||||
panic!("Should never reach ifcmp as isel root!");
|
||||
}
|
||||
|
||||
Opcode::Icmp => {
|
||||
let condcode = ctx.data(insn).cond_code().unwrap();
|
||||
let rd = get_output_reg(ctx, outputs[0]).only_reg().unwrap();
|
||||
lower_icmp(ctx, insn, condcode, IcmpOutput::Register(rd))?;
|
||||
}
|
||||
Opcode::Icmp => implemented_in_isle(ctx),
|
||||
|
||||
Opcode::Fcmp => implemented_in_isle(ctx),
|
||||
|
||||
|
||||
Reference in New Issue
Block a user