Simplify "unimplemented" operation error message (#5429)
Now that all operations are implemented in ISLE, simplify Rust code by providing a generic error message if any operation is not implemented in ISLE. Done across all targets.
This commit is contained in:
@@ -55,8 +55,9 @@ impl LowerBackend for Riscv64Backend {
|
||||
assert!(temp_regs.len() == 0);
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
unreachable!(
|
||||
"implemented in ISLE: branch = `{}`",
|
||||
"not implemented in ISLE: branch = `{}`",
|
||||
ctx.dfg().display_inst(branches[0]),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user