tqchen opened a new pull request, #20365: URL: https://github.com/apache/tvm/pull/20365
Replace the separate TIRx expression and statement mutator hierarchy with a single typed dispatch chain through the shared ExprMutator. Statement-only callers keep explicit expression boundaries; specialized passes retain their ownership, geometry and type-inference responsibilities. Canonical variable and buffer replacements share the inherited definition environment. Dtype normalization separates collection from rewriting, and compute legalization uses one candidate map with opaque-use filtering before mutation. Native and structural SeqStmt mutation share the original structural algorithm and its in-place sequence handling. Ordinary memory-access hooks retain their pass-specific buffer policy and stored types. Mutation planning uses the native visitor API. Statement simplification preserves buffer definitions and delegates each primitive expression directly to the analyzer. Buffer pointer hooks update the final result type after parent mutation, preserving other call fields. IKET cleanup runs after ordinary parent mutation, retaining only empty-body and empty-branch removal. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
