Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -776,7 +776,7 @@ impl<'block> BrilligBlock<'block> {
fn convert_ssa_value(&mut self, value_id: ValueId, dfg: &DataFlowGraph) -> RegisterOrMemory {
let value = &dfg[value_id];

let variable = match value {
match value {
Value::Param { .. } | Value::Instruction { .. } => {
// All block parameters and instruction results should have already been
// converted to registers so we fetch from the cache.
Expand Down Expand Up @@ -843,8 +843,7 @@ impl<'block> BrilligBlock<'block> {
_ => {
todo!("ICE: Cannot convert value {value:?}")
}
};
variable
}
}

/// Converts an SSA `ValueId` into a `RegisterIndex`. Initializes if necessary.
Expand Down