[RotateForLoops] Add unit tests to loop rotation pass #27
Labels
enhancement
Improvement to existing feature of Dynamatic
nice-to-have
Cosmetic and/or light improvements to the framework
A recent commit (aa8eca2) improved the for loop rotation pass to let it handle loops with negative bounds. This generalization makes at least one of our standard benchmark (sobel) yield a better circuit because two additional loops of the original source code are able to be matched and converted by our pass.
The pass currently lacks some unit tests, which is obviously not ideal. We should add some and, at the same time, take the opportunity to rename the TableGen-defined pass to
ScfRotateForLoops
(replacingScfForLoopRotation
) to follow standard pass naming conventions.The text was updated successfully, but these errors were encountered: