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

[VAN-676][VAN-670] flatten branches in extracted function by duplicating the functions #55

Merged
merged 15 commits into from
Oct 30, 2023

Conversation

tim-hoffman
Copy link

this handles branches from circom source and branches generated to handle subcmp counter check for calling the subcmp "run" function

Base automatically changed from th/loop-body-extraction to llvm October 18, 2023 16:55
@tim-hoffman tim-hoffman marked this pull request as draft October 18, 2023 18:35
@@ -41,3 +39,6 @@ template B(n) {
}

component main = B(2);

//TODO: This check is a filler just to capture when the test no longer crashes
Copy link
Author

Choose a reason for hiding this comment

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

Addressed in the next PR #56

@@ -57,3 +56,6 @@ template B(n, m, j) {
}

component main = B(2, 3, 2);

//TODO: This check is a filler just to capture when the test no longer crashes
Copy link
Author

Choose a reason for hiding this comment

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

Addressed in the next PR #56

@tim-hoffman tim-hoffman marked this pull request as ready for review October 18, 2023 20:39
@tim-hoffman tim-hoffman changed the base branch from llvm to llvm-v2 October 24, 2023 18:07
Copy link

@iangneal iangneal 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 couple of comments/questions

compiler/src/intermediate_representation/store_bucket.rs Outdated Show resolved Hide resolved
circom/tests/loops/inner_conditional_10.circom Outdated Show resolved Hide resolved
Copy link

@iangneal iangneal left a comment

Choose a reason for hiding this comment

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

LGTM.

@tim-hoffman tim-hoffman merged commit 111097b into llvm-v2 Oct 30, 2023
1 check passed
@tim-hoffman tim-hoffman deleted the th/van-676 branch October 30, 2023 23:55
tim-hoffman added a commit that referenced this pull request Oct 31, 2023
…ing the functions (#55)

* Refactor StoreBucket to avoid generating call to "llvm.donothing"
tim-hoffman added a commit that referenced this pull request Nov 8, 2023
…ing the functions (#55)

* Refactor StoreBucket to avoid generating call to "llvm.donothing"
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.

3 participants