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
RegionVisitor and RegionTransformers enables a hierarchical thinking for compiler pass implementation. This simplifies compiler passes to just 3 abstract methods:
visit_block(): handle a purely data-dependence block in RVSDG.
visit_loop(): handle a loop region.
visit_switch(): handle a switch region.
The text was updated successfully, but these errors were encountered:
sklam
changed the title
Feature request: RegionVisitor and RegionTransformers
Feature request: RegionVisitor and RegionTransformer
Jun 12, 2023
Sample implementation used in Numba RVSDG frontend: https://github.com/numba/numba/blob/edfc1b95bf633abb346fbbe265acf2bb20560a6e/numba/core/frontend2/regionpasses.py
RegionVisitor
andRegionTransformers
enables a hierarchical thinking for compiler pass implementation. This simplifies compiler passes to just 3 abstract methods:visit_block()
: handle a purely data-dependence block in RVSDG.visit_loop()
: handle a loop region.visit_switch()
: handle a switch region.The text was updated successfully, but these errors were encountered: