guan404ming opened a new pull request, #18736: URL: https://github.com/apache/tvm/pull/18736
## Why Constant folding skipped call_tir nodes with tuple (multi-tensor) outputs, leaving foldable operations unoptimized. ## How - Add ConstEvaluateCallTIRTuple to handle call_tir with TupleStructInfo output by allocating and packing multiple output tensors - Route VisitCallTIR through tuple vs single-tensor paths based on sinfo_args type - Add test for folding a split-like prim_func with two output tensors -- 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]
