Skip to content

Commit

Permalink
Bump matches limit to 10
Browse files Browse the repository at this point in the history
  • Loading branch information
fitzgen committed Nov 3, 2023
1 parent 77ed10a commit e7b8618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cranelift/codegen/src/egraph.rs
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ where
let mut union_value = orig_value;
while let Some(optimized_value) = optimized_values.next(&mut isle_ctx) {
i += 1;
const MATCHES_LIMIT: u32 = 5;
const MATCHES_LIMIT: u32 = 10;
if i > MATCHES_LIMIT {
trace!("Reached maximum matches limit; too many optimized values, ignoring rest.");
break;
Expand Down

0 comments on commit e7b8618

Please sign in to comment.