cranelift_codegen::souper_harvest: Update TODOs to include more instructions
This commit is contained in:
@@ -129,6 +129,7 @@ fn harvest_candidate_lhs(
|
|||||||
| ir::Opcode::Clz
|
| ir::Opcode::Clz
|
||||||
| ir::Opcode::Ctz
|
| ir::Opcode::Ctz
|
||||||
// TODO: ir::Opcode::IaddCarry
|
// TODO: ir::Opcode::IaddCarry
|
||||||
|
// TODO: ir::Opcode::IaddCout
|
||||||
| ir::Opcode::SaddSat
|
| ir::Opcode::SaddSat
|
||||||
| ir::Opcode::SsubSat
|
| ir::Opcode::SsubSat
|
||||||
| ir::Opcode::UsubSat => true,
|
| ir::Opcode::UsubSat => true,
|
||||||
@@ -404,6 +405,7 @@ fn harvest_candidate_lhs(
|
|||||||
ast::Instruction::Cttz { a }.into()
|
ast::Instruction::Cttz { a }.into()
|
||||||
}
|
}
|
||||||
// TODO: ir::Opcode::IaddCarry
|
// TODO: ir::Opcode::IaddCarry
|
||||||
|
// TODO: ir::Opcode::IaddCout
|
||||||
(ir::Opcode::SaddSat, _) => {
|
(ir::Opcode::SaddSat, _) => {
|
||||||
let a = arg(allocs, 0);
|
let a = arg(allocs, 0);
|
||||||
let b = arg(allocs, 1);
|
let b = arg(allocs, 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user