Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
parthsarkar17 committed Jul 14, 2024
1 parent 951a200 commit 546cd03
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions calyx-ir/src/control.rs
Original file line number Diff line number Diff line change
Expand Up @@ -764,12 +764,12 @@ impl StaticControl {
Self::If(StaticIf {
tbranch, fbranch, ..
}) => {
&tbranch.approx_size_static(
tbranch.approx_size_static(
approx_enable_size,
approx_while_repeat_size,
approx_if_size,
true,
) + &fbranch.approx_size_static(
) + fbranch.approx_size_static(
approx_enable_size,
approx_while_repeat_size,
approx_if_size,
Expand Down
2 changes: 1 addition & 1 deletion calyx-opt/src/passes/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,14 +38,14 @@ mod add_guard;
mod data_path_infer;
mod default_assigns;
mod discover_external;
mod new_fsm;
mod simplify_with_control;
mod synthesis_papercut;
mod top_down_compile_control;
mod unroll_bound;
mod well_formed;
mod wire_inliner;
mod wrap_main;
mod new_fsm;

pub use canonical::Canonicalize;
pub use cell_share::CellShare;
Expand Down
2 changes: 1 addition & 1 deletion calyx-opt/src/passes/new_fsm.rs
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ impl Visitor for NewFSMs {
);

statement_sizes.push(approx_stmt_size);
total_size = total_size + approx_stmt_size;
total_size += approx_stmt_size;
total_sizes.push(total_size);
}

Expand Down

0 comments on commit 546cd03

Please sign in to comment.