From c87aaeeecea7c8a4f29114b7fa5bdda9e7c7f457 Mon Sep 17 00:00:00 2001 From: Nick Fitzgerald Date: Mon, 14 Sep 2020 08:41:56 -0700 Subject: [PATCH] cranelift_codegen::souper_harvest: Update TODOs to include more instructions --- cranelift/codegen/src/souper_harvest.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cranelift/codegen/src/souper_harvest.rs b/cranelift/codegen/src/souper_harvest.rs index e97b8c0fa5..fcf53b0ed5 100644 --- a/cranelift/codegen/src/souper_harvest.rs +++ b/cranelift/codegen/src/souper_harvest.rs @@ -129,6 +129,7 @@ fn harvest_candidate_lhs( | ir::Opcode::Clz | ir::Opcode::Ctz // TODO: ir::Opcode::IaddCarry + // TODO: ir::Opcode::IaddCout | ir::Opcode::SaddSat | ir::Opcode::SsubSat | ir::Opcode::UsubSat => true, @@ -404,6 +405,7 @@ fn harvest_candidate_lhs( ast::Instruction::Cttz { a }.into() } // TODO: ir::Opcode::IaddCarry + // TODO: ir::Opcode::IaddCout (ir::Opcode::SaddSat, _) => { let a = arg(allocs, 0); let b = arg(allocs, 1);