You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In noir-lang/acvm#88, we made the distinction between optimizers (which are generic between backends) and transformers (which use knowledge about the desired proving backend to make the ACIR compatible with it.
Despite this we currently have a single monolithic compile function inside the ACVM which applies both optimizations and transformations.
Happy Case
We should expose optimize and transform (this could be named better) functions to separate these two functions. We could then make use of optimize as a final pass within the Noir compiler so that our outputted ACIR represents the most optimized generic ACIR possible.
This means that our backend step is purely a matter of making the ACIR compatible with the backend rather than a mix of two concepts.
Alternatives Considered
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:
Problem
In noir-lang/acvm#88, we made the distinction between optimizers (which are generic between backends) and transformers (which use knowledge about the desired proving backend to make the ACIR compatible with it.
Despite this we currently have a single monolithic
compile
function inside the ACVM which applies both optimizations and transformations.Happy Case
We should expose
optimize
andtransform
(this could be named better) functions to separate these two functions. We could then make use ofoptimize
as a final pass within the Noir compiler so that our outputted ACIR represents the most optimized generic ACIR possible.This means that our backend step is purely a matter of making the ACIR compatible with the backend rather than a mix of two concepts.
Alternatives Considered
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: