We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
--experimental-ssa
Tried to use an if statement without an else:
fn main(x: bool) { if x { dep::std::println(5); } dep::std::println(6); }
Expected the following resulting IR
fn main f1 { b0(v0: u1): v9 = call println(Field 5) v10 = not v0 v12 = call println(Field 6) return unit 0 }
The flatten-cfg pass duplicates every instruction in the end block:
fn main f1 { b0(v0: u1): v9 = call println(Field 5) v10 = not v0 v12 = call println(Field 6) v13 = call println(Field 6) return unit 0 }
None
No response
No
The text was updated successfully, but these errors were encountered:
jfecher
Successfully merging a pull request may close this issue.
Aim
Tried to use an if statement without an else:
Expected Behavior
Expected the following resulting IR
Bug
The flatten-cfg pass duplicates every instruction in the end block:
To Reproduce
Installation Method
None
Nargo Version
No response
Additional Context
No response
Would you like to submit a PR for this Issue?
No
Support Needs
No response
The text was updated successfully, but these errors were encountered: