Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: move SSA checks to a new folder #5434

Merged
merged 1 commit into from
Jul 8, 2024
Merged
Show file tree
Hide file tree
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
1 change: 1 addition & 0 deletions compiler/noirc_evaluator/src/ssa.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
};

mod acir_gen;
mod checks;
pub(super) mod function_builder;
pub mod ir;
mod opt;
Expand Down Expand Up @@ -91,7 +92,7 @@
.run_pass(Ssa::array_set_optimization, "After Array Set Optimizations:")
.finish();

let ssa_level_warnings = ssa.check_for_underconstrained_values();

Check warning on line 95 in compiler/noirc_evaluator/src/ssa.rs

View workflow job for this annotation

GitHub Actions / Code

Unknown word (underconstrained)
let brillig = time("SSA to Brillig", options.print_codegen_timings, || {
ssa.to_brillig(options.enable_brillig_logging)
});
Expand Down
File renamed without changes.
1 change: 1 addition & 0 deletions compiler/noirc_evaluator/src/ssa/checks/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
mod check_for_underconstrained_values;

Check warning on line 1 in compiler/noirc_evaluator/src/ssa/checks/mod.rs

View workflow job for this annotation

GitHub Actions / Code

Unknown word (underconstrained)
1 change: 0 additions & 1 deletion compiler/noirc_evaluator/src/ssa/opt/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ mod array_set;
mod as_slice_length;
mod assert_constant;
mod bubble_up_constrains;
mod check_for_underconstrained_values;
mod constant_folding;
mod defunctionalize;
mod die;
Expand Down
Loading