-
Notifications
You must be signed in to change notification settings - Fork 15.2k
[DataLayout][LangRef] Split non-integral and unstable pointer properties #105735
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
arichardson
merged 32 commits into
main
from
users/arichardson/spr/datalayoutlangref-split-non-integral-and-unstable-pointer-properties
Sep 23, 2025
Merged
Changes from all commits
Commits
Show all changes
32 commits
Select commit
Hold shift + click to select a range
90068f1
[𝘀𝗽𝗿] initial version
arichardson 13983a2
[𝘀𝗽𝗿] changes to main this commit is based on
arichardson e4bd118
fix indentation in langref
arichardson 35afb97
rebase
arichardson c55290e
[𝘀𝗽𝗿] changes introduced through rebase
RKSimon db97145
include feedback
arichardson 94ecfa3
address more feedback
arichardson d933fc9
[𝘀𝗽𝗿] changes introduced through rebase
jhuber6 278ce21
address arsenm feedback and add a test
arichardson 9c2aecb
[𝘀𝗽𝗿] changes introduced through rebase
mshockwave df9bdfe
split out the external state property based on discourse discussion
arichardson 9834171
[𝘀𝗽𝗿] changes introduced through rebase
nico 7615db9
rebase
arichardson 1e07d91
[𝘀𝗽𝗿] changes introduced through rebase
arichardson 142a3ff
fix bug in parsing and extend tests -- will update LangRef shortly
arichardson ddc29aa
[𝘀𝗽𝗿] changes introduced through rebase
kparzysz bdb6acc
rebased and updated following conclustion of ptrtoint semantics
arichardson de449dd
clang-format
arichardson 2c49735
typo fixes
arichardson eae5a3e
[𝘀𝗽𝗿] changes introduced through rebase
s-barannikov 2da5d51
update non-intgegral property based on feedback, drop 'n' flag
arichardson a08d1f9
fix typo in langref
arichardson e740d60
fix tests after semantic change
arichardson 4fee21f
rebase, add Type* overloads
arichardson 9227e72
[𝘀𝗽𝗿] changes introduced through rebase
boomanaiden154 06f5ddf
address feedback, add new non-address bits section
arichardson 82c5832
remove no longer valid test check
arichardson d0cab97
[𝘀𝗽𝗿] changes introduced through rebase
ellishg 6004d6c
feedback, rename shouldAvoid to mustNotIntroduce
arichardson faf0565
typo fix
arichardson 2ade3c6
[𝘀𝗽𝗿] changes introduced through rebase
michaelrj-google 9abba46
rebase
arichardson 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 hidden or 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 hidden or 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.
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.
So this applies to only an SSA value of an unstable pointer type? What about an in-memory value with the unstable pointer type?
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 am not familiar with how GC pointers are used in LLVM, I just tried to split out the existing "copying GC" non-integral pointers properties into a separate property to allow for "fat pointers", CHERI capabilities, etc to use non-integral pointers without incurring all the restrictions imposed by GC pointers.
Not sure who is best to comment on this, probably someone from azul who has worked on it recently.