-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Delete the zero-offset field sequence map (#71455)
* Delete the unused GTF_ICON_FIELD_OFF * Do not try to find "IND(struct ARR_ADDR)" handle Leftover from GT_INDEX. * Delete the zero-offset field sequence map For statics at a zero offset, preserve the "CNS_INT 0" node instead. * Make all field sequences singletons * Print struct field offsets in the sequence * Improve address mode marking to handle COMMAs This avoids regressing cases where we now have new CSE opportunities for statics with static init helper calls. * Delete NotAField Replace with using "nullptr" directly. Note that "nullptr" can mean both an absense of a field sequence and an "implicit" sequence of struct fields. * Refactor the field sequence store Now that we don't need the map to be a set, we can apply some optimizations. * FieldSeqNode -> FieldSeq * Turn asserts into "noway_assert"s We don't expect empty sequences: they are either coming from the "IsFieldAddr" code path, which disallows these, or from the boxed static code path, where we should always have them. * Fix formatting * Take down SPMI * Resurrect SPMI to work around a CG2 bug
- Loading branch information
1 parent
0ab2c1e
commit 3509d58
Showing
15 changed files
with
313 additions
and
932 deletions.
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
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.