Transformations Review
Apply to graph passes, pattern matching, pass infrastructure, and their tests in common code, frontends, and plugins. Use the owning component's guidance alongside this reference.
Review changed or added passes for compliance with the transformation writing guide. Check that the behavioral change is covered by tests, and review those tests for compliance with the transformation testing guide.
Read each applicable guide in full before reporting findings. If a guide is too large to open at once, read it in consecutive line ranges until the end of the file. Searching a guide or reading only selected sections does not replace a full read: rules are spread across all sections, and the "What NOT to do" summary is at the end of each guide.