-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Get rid of the Scalar
and ScalarPair
variants of ConstValue
...
#55260
Closed
Closed
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
edf94c5
Update function names in comments
oli-obk 856eaed
Simplify `ConstValue`
oli-obk fe4e950
Make the HashStable impl of Allocation safer for future changes of th…
oli-obk 04fc561
The `Hash` and `Eq` impls of `ConstValue` were inherently broken
oli-obk b11b3cb
Fixup a bunch of things for "simplify const value"
oli-obk 3aecb0d
Fix some simd intrinsics
oli-obk 8d42376
Fix an ICE that can occur while errors are already being emitted
oli-obk 847f5b9
Const prop is only interested in immediate constants right now
oli-obk e52644c
Update a few tests with their improved diagnostic messages
oli-obk 8246dd4
Alignment check facepalm
oli-obk 5620d68
Enums can produce scalar pairs with undefs in one of the elements
oli-obk fc6472c
Hide a constructor function that is unused outside this module
oli-obk 336094f
Use a more appropriate parameter environment
oli-obk b4ba332
Don't resolve `impl Trait` in function def constants to the concrete …
oli-obk dfc5d26
Constants carry their type with them
oli-obk c50d77d
Alignment of `const_field` results must be of the field's type
oli-obk 1d14a84
Add a debugging aid
oli-obk 9fbce39
Change some useless `ParamEnv::empty` to `reveal_all`
oli-obk 1f2fcee
Improve debugging output of layout computation failure
oli-obk e3bbe6d
Shrink allocations to fit the type at hand
oli-obk 6ff70da
Resize `Allocation`s when doing field accesses into them
oli-obk 7b526d8
Read the slice length from the correct place in the fat pointer
oli-obk 9df63e9
Global Allocations don't have an `extra` value
oli-obk a7a92e2
Rebase fallout
oli-obk 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
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.
Woah.
Your comment consists of two sentences, right, despite there not being a
.
nor the first word of the second sentence being capitalized? I am not sure but so far I haven't found another way to parse these sentences. Please add punctuation :)And also please add that
delay_span_bug
. I mean I have no clue when and where and how this method is used, but just usingu128
clearly cannot be right. Maybe add a comment saying why this even remotely makes sense -- i.e., is the result of this method unused in the error case, or so?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 read it as one sentence. "weird" and "dummy" are adjectives modifying "layout", and "with somewhat sane values" is also attached to "layout.")
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.
GitHub cut away half the comment. I cannot parse the following as one sentence: