heir
heir copied to clipboard
Write a pass to materialize `root` parameter of ring polynomials
Cf. https://github.com/google/heir/pull/590#r1567269081.
Instead of trying to get a root for all polynomial rings at parse time, create a pass that will only materialize this parameter when needed.