The GitHub Actions job "mainline-only" on tvm-ffi.git/main has succeeded. Run started by GitHub user tqchen (triggered by tqchen).
Head commit for run: 4205a643fa8d861d08f8aa7dc3dedbf1c7bda5f2 / Tianqi Chen <[email protected]> [REFACTOR][EXTRA] Allow StructuralWalkVisitor to carry state via Parent (#747) Downstream walks sometimes need to carry state alongside traversal, scoped around the subtree they descend into. `StructuralWalkVisitor` could not express that because its callback chain was composed before the visitor existed, so callbacks could not see visitor-layer state. This change moves callback matching into a public walk engine and adds a `Parent` layer protocol: - Preserve the exact Parent-free `StructuralWalkExpected<order>` and `StructuralWalk<order>` entry points; no additional `WithState` free function ships. - Expose `tvm::ffi::StructuralWalkEngine<Parent, order, Callbacks...>` for layered users and document the complete Parent protocol, including dependent unqualified descent lookup rather than virtual dispatch. - Preserve protected raw ABI descent and public expected descent; layers overriding expected descent provide the paired raw redirect in their own class body. - Unpack the Parent's const state tuple positionally into every callback after the value, supporting multiple and duplicate state types without lookup rules. - Allow `TVMFFIDefRegionKind` only as an optional trailing argument and read it lazily only when requested. - Cover public engine construction, state observation, raw descent, skip/interrupt behavior, combined state/region dispatch, and pre/post-order placement in focused tests. Report URL: https://github.com/apache/tvm-ffi/actions/runs/33982245539 With regards, GitHub Actions via GitBox --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
