tqchen opened a new pull request, #14547: URL: https://github.com/apache/tvm/pull/14547
This PR refactors and enhances DetectIterMap and IterMapSimplify to enable symbolic shape simplification. Speficially, we add a routine to combine multiple IterSplitExpr into one if they come from the same source. It is helpful to distinguish iterator from normal constants in the simplification process. IterMapSimplify takes advantage of these information. This improvements is helpful to simplify the indices in flattened buffer when there is symbolic shape involved and normal simplifier. Also updated FlattenBuffer to take benefit of the enhanced simplifier. Test cases are added. -- 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]
