-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Check for use of InstId
s from the wrong SemIR::File
#5997
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
dwblaikie
merged 16 commits into
carbon-language:trunk
from
dwblaikie:debug_checks_checkirid_matching_value_store
Oct 2, 2025
Merged
Changes from 7 commits
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
574bd45
WIP
dwblaikie a6d3926
Add InstStore to Constants so the id can be validated
dwblaikie f4956c1
Fix
dwblaikie dff470f
Best effort attempt to decompose an id into unit+index in the absence…
dwblaikie f8cef76
Refactor best-effort decomposition for reuse with CARBON_DCHECK
dwblaikie ea8fb53
Minor updates/fixes from rebase
dwblaikie c95770b
Non-automatic test updates
dwblaikie 728a04b
Rename `IdToChucknIndices` to `RawIndexToChunkIndices` to be more acc…
dwblaikie 8ae0288
Rename `CheckIRIdTag` to `IdTag`
dwblaikie 280ed8c
CARBON_CHECK that used ConstantValueStores have an associated InstStore
dwblaikie 6649f47
Change best-effort inst name printing to `irN.instM`
dwblaikie 9ad3946
Simplify IdTag default construction
dwblaikie acbb584
Add missing ')' and format
dwblaikie 306fcc6
Put stub `GetIdTag` in SpecificStore, removing ADL-based `GetIdTag`
dwblaikie dd1911f
Add a ConstantValueStore ctor that explicitly makes the store unusable
dwblaikie 5589970
Merge branch 'trunk' into debug_checks_checkirid_matching_value_store
dwblaikie 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
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.
Uh oh!
There was an error while loading. Please reload this page.