Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
raviqqe committed May 4, 2024
1 parent 9656c15 commit 1f41f57
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion melior/src/dialect/llvm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -603,7 +603,10 @@ mod tests {

let operation = block.append_operation(zero(integer_type, location));

block.append_operation(func::r#return(&[operation.result(0).unwrap()], location));
block.append_operation(func::r#return(
&[operation.result(0).unwrap().into()],
location,
));

let region = Region::new();
region.append_block(block);
Expand Down

0 comments on commit 1f41f57

Please sign in to comment.