Skip to content

feat!: Change CLI to default to new SSA code for compilation#2032

Merged
kevaundray merged 1 commit intomasterfrom
switch-to-new-ssa
Jul 25, 2023
Merged

feat!: Change CLI to default to new SSA code for compilation#2032
kevaundray merged 1 commit intomasterfrom
switch-to-new-ssa

Conversation

@TomAFrench
Copy link
Member

@TomAFrench TomAFrench commented Jul 25, 2023

Description

Problem*

Resolves

Summary*

This PR does the minimal changes to move nargo over to use the new SSA code by default. You can continue to use the old SSA by using the legacy-ssa flag (which replaces experimental-ssa) although this should be removed soon.

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.

References to experimental-ssa should be removed. I would leave legacy-ssa undocumented as it will be removed soon.

Additional Context

PR Checklist*

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

BEGIN_COMMIT_OVERRIDE
feat(nargo)!: Default to new SSA code for compilation
END_COMMIT_OVERRIDE

@TomAFrench
Copy link
Member Author

Currently blocked by AztecProtocol/barretenberg#626 as we want to get all ACIR tests passing in bberg before merging.

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.

LGTM. I'll approve once the prerequisite PR is merged.

@TomAFrench TomAFrench marked this pull request as ready for review July 25, 2023 21:50
@TomAFrench TomAFrench requested a review from kevaundray July 25, 2023 21:50
@TomAFrench TomAFrench linked an issue Jul 25, 2023 that may be closed by this pull request
@TomAFrench
Copy link
Member Author

On second thought we should probably push out a release before we merge this.

Copy link
Contributor

@kevaundray kevaundray left a comment

Choose a reason for hiding this comment

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

The blocking PR has been merged so approving

@kevaundray kevaundray added this pull request to the merge queue Jul 25, 2023
Merged via the queue into master with commit ce37718 Jul 25, 2023
@kevaundray kevaundray deleted the switch-to-new-ssa branch July 25, 2023 23:23
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.

[Tracking] Migrate to experimental-ssa as the default SSA

3 participants