forked from apache/tvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ARITH] Enhance IterMapSimplify for symbolic (apache#14547)
This PR refactors and enhances DetectIterMap and IterMapSimplify to enable symbolic shape simplification. Specifically, 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. Co-authored-by: Junru Shao <[email protected]>
- Loading branch information
Showing
25 changed files
with
2,833 additions
and
2,460 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.