-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
rework byval ZIR instructions; forbid runtime vector indexes #25154
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
40 commits
Select commit
Hold shift + click to select a range
14bda41
llvm backend: remove canElideLoad mechanism
andrewrk 426af68
compiler: require comptime vector indexes
andrewrk 772793c
Sema: fix accessing ptr field of double array pointer with sentinel
andrewrk 09e4fc4
std.zon.parse: fix not initializing array sentinel
andrewrk d00aee0
x86 codegen: handle spilled tuples
andrewrk 3bd62e1
Sema: fix source location of "declared here" note
andrewrk 354c178
frontend: replace field_val and field_val_named
andrewrk 95439c9
std.Progress: avoid problematic catch syntax
andrewrk 9afa683
frontend: replace elem_val_node with elem_ptr_load
andrewrk 4fef90f
Sema: more conservative elem_ptr_load implementation
andrewrk 9b74651
Sema: fix YAGNI violation
andrewrk 5ec0a7d
coerce vectors to arrays rather than inline for
andrewrk f12c4f8
aarch64: implement `ptr_slice_*_ptr`
jacobly0 f0fe55a
frontend: fix too strict assertion
andrewrk e5adfd8
translate-c: remove cases associated with runtime vector indexing
andrewrk 2fdf0e2
aarch64: enable fixed behavior
jacobly0 7b8a798
frontend: additionally handle C pointers in ptrOptPayload
andrewrk aacff8c
add compile error coverage for dependency loop
andrewrk c0bbddb
Sema: avoid ptr_add/ptr_sub instructions void elem type
andrewrk c369def
disable spirv64-vulkan coverage
andrewrk e1a7506
disable wasm backend coverage
andrewrk 0681bf0
frontend: packed struct field ptr no longer finds byte borders
andrewrk cbbb67c
x86_64: fix safety crashes in `storeRegs`
jacobly0 7ffe068
delete failing test case
andrewrk 725dec6
Sema: add missed logic to checkPtrAttributes
andrewrk d7d5049
langref: don't assume too much about pointer to packed struct field
andrewrk 2f9d8d5
Zcu: fix analysis of type of decl with inferred type
mlugg fcc7e37
Revert "delete failing test case"
mlugg baaf715
cases: update for new error
mlugg 5d8c1fb
frontend: another packedStructFieldPtrInfo fix
andrewrk 2ba03e9
disable failing stage2_aarch64 behavior tests
andrewrk 60cdaca
x86_64: rewrite vector element pointer access
jacobly0 5144f10
aarch64: fix behavior failures
jacobly0 f81a721
standalone: fix misaligned stack crash
jacobly0 20925f2
Revert "frontend: another packedStructFieldPtrInfo fix"
mlugg 0e16d93
fix rebase error
mlugg ed7ff0b
allow some test cases to regress
andrewrk 500afbf
add behavior test: resist alias of explicit copy...
andrewrk 1c9ac9d
add behavior test: avoid unused field function body compile error
andrewrk 633162e
add behavior test: comptime C pointer to optional pointer
andrewrk 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
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
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
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
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.
What's the problem with this one? (Not obvious to me why #24061 affects it.)
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.
If it's not #24061 then I'll open another issue to track the regression (same with the other s390x case)
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.
Whatever issue this was, I'm not able to reproduce it locally. Is there a CI log for this failure or something?