-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Be more careful when selecting LUB of free regions #27892
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
Merged
Merged
Changes from all commits
Commits
Show all changes
17 commits
Select commit
Hold shift + click to select a range
5448de7
generalize bitvector code into a bitmatrix; write some unit tests, but
nikomatsakis 38df8c6
reorder imports to respect the alphabet, only one of the single most
nikomatsakis 4756d4a
remove unused import
nikomatsakis 5e126e4
implement transitive relation type that can compute transitive
nikomatsakis 4b1d3b7
rewrite `free_region`/`region_inference` to use newly minted
nikomatsakis dcf6f08
kill the old funky `can_reach` fn
nikomatsakis d5b679b
add a regression test for #27583. Fixes #27583.
nikomatsakis 36809bf
clarify diagonal arrows
nikomatsakis 2a25876
add test cases suggested by pnkfelix
nikomatsakis aa469a9
add final test case, correct one of the others (both versions produced
nikomatsakis 10b8941
fix accidental reversal of 'static, and add a test
nikomatsakis b247402
nits from pnkfelix
nikomatsakis a54b91f
remove use of swap_remove and compress the list as we go instead
nikomatsakis 1630c79
rename `best_upper_bound` to `postdom_upper_bound`
nikomatsakis 63eedfc
missed one reference to "best"
nikomatsakis 57909f7
move the reverse into the iterator
nikomatsakis 81eab1c
completely aborted comment
nikomatsakis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I know the code is practically self-documenting, but it might be nice to at least state here what relation is encoded in this field. (Namely whether a relation
a -> b
is interpreted asa: b
or asb: a
.)