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

fix(ssa refactor): allow simplified call inserts & fix const radix arg handling #1774

Merged
merged 5 commits into from
Jun 21, 2023

Conversation

joss-aztec
Copy link
Contributor

@joss-aztec joss-aztec commented Jun 21, 2023

Description

Problem*

The introduction of constant radix simplification broke the function builder when inserting such calls. (Affects test named to_bytes_integration.)

Also radix simplification was wrong reading the radix as the limb count.

Together these fixes get to_bytes_integration passing, and resolve GH-1620.

Summary*

Changes the fetching of simplified results into a supported into a supported case for call insertions.

Documentation

  • This PR requires documentation updates when merged.

    • I will submit a noir-lang/docs PR.
    • I will request for and support Dev Rel's help in documenting this PR.

Additional Context

PR Checklist*

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

@joss-aztec joss-aztec changed the title fix(ssa refactor): allow simplified call inserts fix(ssa refactor): allow simplified call inserts & fix const radix arg handling Jun 21, 2023
Copy link
Contributor

@jfecher jfecher left a comment

Choose a reason for hiding this comment

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

Just a minor optimization concern

Copy link
Contributor

@jfecher jfecher left a comment

Choose a reason for hiding this comment

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

👍

@jfecher jfecher enabled auto-merge June 21, 2023 18:15
@jfecher jfecher added this pull request to the merge queue Jun 21, 2023
Merged via the queue into master with commit 46facce Jun 21, 2023
@jfecher jfecher deleted the joss/insert-simplified-call branch June 21, 2023 21:15
This was referenced Jun 21, 2023
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.

to_bytes_integration test fails
2 participants