chore: greenglight remove_ureachable_instructions#9689
Conversation
There was a problem hiding this comment.
⚠️ Performance Alert ⚠️
Possible performance regression was detected for benchmark 'Compilation Time'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.20.
| Benchmark suite | Current: 8f1d9ce | Previous: e5bd638 | Ratio |
|---|---|---|---|
rollup-block-root-empty |
30.58 s |
21.84 s |
1.40 |
This comment was automatically generated by workflow using github-action-benchmark.
CC: @TomAFrench
There was a problem hiding this comment.
⚠️ Performance Alert ⚠️
Possible performance regression was detected for benchmark 'Test Suite Duration'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.20.
| Benchmark suite | Current: b5eb4d7 | Previous: 19f2525 | Ratio |
|---|---|---|---|
test_report_noir-lang_noir_bigcurve_ |
393 s |
326 s |
1.21 |
This comment was automatically generated by workflow using github-action-benchmark.
CC: @TomAFrench
This is because we gate the check only for ACIR. ACIR array operations are side effectual and check for array OOBs, while in Brillig they do not so we would have to insert a constrain in the Brillig runtime #9378. However, this was breaking due to #7289 still being open at the time. I want to hold off on merging #9378 though as it looks like we are getting failures in aztec-packages from #9412 still.
This is a good point. We could change this logic and slightly simplify that case. |
In the end I'm not sure this is worth it. The slice operations return the slice but also the popped element so we'd have to zero that anyway. |
We could just add that as an inline comment as an extra justification. |
compiler/noirc_evaluator/src/ssa/opt/remove_unreachable_instructions.rs
Outdated
Show resolved
Hide resolved
compiler/noirc_evaluator/src/ssa/opt/remove_unreachable_instructions.rs
Outdated
Show resolved
Hide resolved
compiler/noirc_evaluator/src/ssa/opt/remove_unreachable_instructions.rs
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
⚠️ Performance Alert ⚠️
Possible performance regression was detected for benchmark 'Execution Time'.
Benchmark result of this commit is worse than the previous benchmark result exceeding threshold 1.20.
| Benchmark suite | Current: d609445 | Previous: 23ba35f | Ratio |
|---|---|---|---|
rollup-root |
0.005 s |
0.004 s |
1.25 |
This comment was automatically generated by workflow using github-action-benchmark.
CC: @TomAFrench
compiler/noirc_evaluator/src/ssa/opt/remove_unreachable_instructions.rs
Outdated
Show resolved
Hide resolved
Co-authored-by: Maxim Vezenov <mvezenov@gmail.com>
Co-authored-by: Maxim Vezenov <mvezenov@gmail.com>
Description
Problem
Resolves #9518
Summary
This just add docs.
I documented how it works but I'm not sure why:
Additional Context
Documentation
Check one:
PR Checklist
cargo fmton default settings.