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 nested slice code #4019

Closed
Tracked by #3363
vezenovm opened this issue Jan 11, 2024 · 0 comments · Fixed by #4021
Closed
Tracked by #3363

Chore: Remove nested slice code #4019

vezenovm opened this issue Jan 11, 2024 · 0 comments · Fixed by #4021
Assignees
Labels
acir-gen enhancement New feature or request ssa
Milestone

Comments

@vezenovm
Copy link
Contributor

Problem

As a followup to #4017 we want to remove the nested slices code that has been intertwined into SSA and ACIR gen. This is potentially a temporary removal, but with nested slices being banned it adds extra confusion and complexity to leave the code in while we consider other solutions for nested slices.

Happy Case

There is no nested slices code in SSA or ACIR gen.

Alternatives Considered

We will look at potentially adding back in this code or using a new solution in due time. Aside from ACIR gen the nested slices code is mostly self contained in the fill_internal_slices pass so it should be simple enough to add back in.

Additional Context

No response

Would you like to submit a PR for this Issue?

No

Support Needs

No response

@vezenovm vezenovm added enhancement New feature or request ssa acir-gen labels Jan 11, 2024
@vezenovm vezenovm self-assigned this Jan 11, 2024
@github-project-automation github-project-automation bot moved this to 📋 Backlog in Noir Jan 11, 2024
@kevaundray kevaundray added this to the 0.23.0 milestone Jan 15, 2024
github-merge-queue bot pushed a commit that referenced this issue Jan 17, 2024
# Description

## Problem\*

Resolves #4019 

## Summary\*

This removes the relevant code introduced for nested slices. This may be
temporarily removed, but ultimately isn't too bad of a change as most of
the code is contained to the fill internal slices pass with some extra
logic in ACIR gen.

## Additional Context

See issue for extra context.

## Documentation\*

Check one:
- [X] No documentation needed.
- [ ] Documentation included in this PR.
- [ ] **[Exceptional Case]** Documentation to be submitted in a separate
PR.

# PR Checklist\*

- [X] I have tested the changes locally.
- [X] I have formatted the changes with [Prettier](https://prettier.io/)
and/or `cargo fmt` on default settings.
@github-project-automation github-project-automation bot moved this from 📋 Backlog to ✅ Done in Noir Jan 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
acir-gen enhancement New feature or request ssa
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

2 participants