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: remove foreign call handler logic from compiler #6664

Draft
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

TomAFrench
Copy link
Member

Description

Problem*

Resolves

Summary*

There's some pretty horrific abstraction leaks which got added at some point a load of foreign call logic has been pushed into the compiler. This PR goes some of the way towards unpicking that.

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.

@TomAFrench TomAFrench changed the title Tf/remove foreign call handler logic from compiler chore: remove foreign call handler logic from compiler Nov 29, 2024
Base automatically changed from tf/refactor-foreign-call-executors to master December 2, 2024 15:29
…compiler

* master:
  chore: update noir-bench-report version (#6675)
  fix: Prevent hoisting binary instructions which can overflow (#6672)
  feat(ssa): Hoisting of array get using known induction variable maximum (#6639)
  feat: better error message when trying to invoke struct function field (#6661)
  feat: add memory report into the CI (#6630)
  feat: allow ignoring test failures from foreign calls (#6660)
  chore: refactor foreign call executors (#6659)
  fix: correct signed integer handling in `noirc_abi` (#6638)
  fix: allow multiple `_` parameters, and disallow `_` as an expression you can read from (#6657)
  feat: allow filtering which SSA passes are printed (#6636)
  fix: use correct type for attribute arguments (#6640)
  fix: always return an array of `u8`s when simplifying `Intrinsic::ToRadix` calls (#6663)
  feat(ssa): Option to set the maximum acceptable Brillig bytecode increase in unrolling (#6641)
@TomAFrench TomAFrench requested a review from a team December 2, 2024 19:00
@TomAFrench TomAFrench marked this pull request as ready for review December 2, 2024 19:00
Copy link
Contributor

github-actions bot commented Dec 2, 2024

Peak Memory Sample

Program Peak Memory
keccak256 83.22M
workspace 122.26M
regression_4709 333.68M
ram_blowup_regression 2.65G

@TomAFrench TomAFrench marked this pull request as draft December 2, 2024 19:19
@TomAFrench
Copy link
Member Author

TomAFrench commented Dec 4, 2024

I've managed to break the part of the printing logic where we split up the params here. Parking for the time being.

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