We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7674609 commit 6f0b7cbCopy full SHA for 6f0b7cb
src/bloqade/rewrite/passes/aggressive_unroll.py
@@ -71,6 +71,7 @@ def __post_init__(self):
71
def unsafe_run(self, mt: Method) -> RewriteResult:
72
result = RewriteResult()
73
result = self.fold.unsafe_run(mt).join(result)
74
+ result = Walk(ilist.rewrite.Unroll()).rewrite(mt.code).join(result) # BUG: cduck's use case fails without this line
75
result = self.scf_unroll.unsafe_run(mt).join(result)
76
self.typeinfer.unsafe_run(
77
mt
0 commit comments