Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Normalize abd range analysis bug fix #421

Merged
merged 2 commits into from
Apr 28, 2023

Conversation

SamirDroubi
Copy link
Collaborator

No description provided.

When merging a binop range, range analysis was implicitly assuming that
those ranges are completely independent i.e. the expression contains
only one read of each symbol that occurs in the expression. This is now
an explicit check.

Moreover, _DoNormalize had a related bug where we
were calling range analysis on the Seq hi expression before nornalizing
it.

Finally, there was an unrelated bug, which this commit fixes,
were the symbols ranges environment in _DorNormalize wasn't being
properly setup in if/else statement.
@SamirDroubi SamirDroubi enabled auto-merge (squash) April 28, 2023 17:53
@codecov-commenter
Copy link

Codecov Report

Merging #421 (38f706d) into master (2ffd059) will decrease coverage by 0.03%.
The diff coverage is 100.00%.

📣 This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more

@@            Coverage Diff             @@
##           master     #421      +/-   ##
==========================================
- Coverage   86.63%   86.60%   -0.03%     
==========================================
  Files          76       76              
  Lines       17544    17556      +12     
==========================================
+ Hits        15199    15205       +6     
- Misses       2345     2351       +6     
Impacted Files Coverage Δ
src/exo/LoopIR_scheduling.py 89.00% <100.00%> (-0.01%) ⬇️
src/exo/range_analysis.py 95.08% <100.00%> (+0.43%) ⬆️
tests/test_range_analysis.py 100.00% <100.00%> (ø)
tests/test_schedules.py 99.28% <100.00%> (+<0.01%) ⬆️

... and 1 file with indirect coverage changes

@SamirDroubi SamirDroubi merged commit 16d06a2 into master Apr 28, 2023
@SamirDroubi SamirDroubi deleted the normalize-range-analysis-bug-fix branch April 28, 2023 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants