-
Notifications
You must be signed in to change notification settings - Fork 219
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
private-kernel-lib
tests are failing on Noir master
#6665
Comments
Debugging this a bit, it seems the issue is with instruction hoisting in constant folding. There's code like this: if num_note_hashes != 0 {
let x = num_note_hashes - 1; and we get |
@TomAFrench @jfecher We are hoisting any instruction that doesn't have side effects. But I guess we can consider What do you think? |
Answered in #6672 but yeah we should disable this optimization on any instructions which break it so that we can get tests passing (as it's a relatively recent optimization this won't cause a deal-breaking regression). We can then look at how to optimize more of these instructions in followups. |
See CI run which runs
nargo test
on the protocol circuit tests: https://github.com/noir-lang/noir/actions/runs/12091844455/job/33720813101?pr=6660These are all tests which don't make use of custom foreign calls so they should be relatively simple to pull out into this repository, minimise and create a regression test.
The text was updated successfully, but these errors were encountered: