-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement real presburger-based CompUniqueBounds. (#283)
* Abstraction over CompUniqueBounds. * Prepare for isolating implementation. * Rename and isolate implementation. * Cleanup includes. * Fix isl parser. * Initial implementation of full PB unique bound. * Fix for a type inconsistency in simplify. It fixes 20.pass/test_simplify.py::test_multiple_min_max[pb_simplify]. But why? * Fix pb_simplify on unreachable code. * Additional coalescing. * Fix compile error. * Fix priority in pb_parser. * Pass basic tests * Reset default parenDespitePriority flag to preserve existing tests * A new way to reconstruct min / max * Fix inter-PBCtx use of PBSet + Parse more isl's AST nodes * Multiple fixes - Fix return value from CompUniqueBounds when there is no non-trivial bounds. - Fix pass/shrink_var for whether using old shapes for bounds. - Fix incorrect testing program in 20.pass/test_prop_one_time_use.py::test_thread_local_no_prop * Fix for 20.pass/test_simplify but revert some new tests * Fix for test/21.autograd/test_output_intermediates.py::test_dynamic_loop_range * Fix for more tests * Fix for more tests * Fix pass/gpu/normalize_threads * Add 20.pass/test_shrink_for.py::test_presburger_bounds * Pass some previously disabled tests --------- Co-authored-by: Shizhi Tang <[email protected]>
- Loading branch information
Showing
40 changed files
with
1,590 additions
and
624 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.