Skip to content

fix(ssa): Replace unreachable array access with a constrain in Brillig#9378

Closed
vezenovm wants to merge 28 commits intomasterfrom
mv/unreachable-array-access-constrain-trap
Closed

fix(ssa): Replace unreachable array access with a constrain in Brillig#9378
vezenovm wants to merge 28 commits intomasterfrom
mv/unreachable-array-access-constrain-trap

Conversation

@vezenovm
Copy link
Contributor

@vezenovm vezenovm commented Aug 1, 2025

Description

Problem*

Testing an alternative to #9376

Summary*

Additional Context

Documentation*

Check one:

  • No documentation needed.
  • Documentation included in this PR.
  • [For Experimental Features] Documentation to be submitted in a separate PR.

PR Checklist*

  • I have tested the changes locally.
  • I have formatted the changes with Prettier and/or cargo fmt on default settings.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ 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: 9b53a79 Previous: 8146755 Ratio
test_report_AztecProtocol_aztec-packages_noir-projects_noir-protocol-circuits_crates_blob 185 s 154 s 1.20

This comment was automatically generated by workflow using github-action-benchmark.

CC: @TomAFrench

Base automatically changed from mv/gate-dummy-array-for-unreachable-array-get-set to master August 1, 2025 18:22
@vezenovm
Copy link
Contributor Author

This is outdated. If we would like to handle Array Get/Set in Brillig in remove_unreachable_instructions we can do it in a fresh PR.

@vezenovm vezenovm closed this Jan 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant