Repository navigation
Conversation
Record each resolved use leaf in the root TypeInfo so IR conversion can find its defining module when collecting constant dependencies. Restore the grouped-constant language test under TIv2 and compare its DSLX and IR interpreter results.
cdleary
marked this pull request as ready for review
November 21, 2026 23:57
cdleary
added a commit
to xlsynth/xlsynth
that referenced
this pull request
Nov 23, 2026
…der TIv2 Record each resolved use leaf in the root TypeInfo so IR conversion can find its defining module when collecting constant dependencies. Restore the grouped-constant language test under TIv2 and compare its DSLX and IR interpreter results. Upstream-head: 4a3f082
cdleary
added a commit
to xlsynth/xlsynth
that referenced
this pull request
Nov 24, 2026
…der TIv2 Record each resolved use leaf in the root TypeInfo so IR conversion can find its defining module when collecting constant dependencies. Restore the grouped-constant language test under TIv2 and compare its DSLX and IR interpreter results. Upstream-head: 4a3f082
cdleary
added a commit
to xlsynth/xlsynth
that referenced
this pull request
Nov 24, 2026
…der TIv2 Record each resolved use leaf in the root TypeInfo so IR conversion can find its defining module when collecting constant dependencies. Restore the grouped-constant language test under TIv2 and compare its DSLX and IR interpreter results. Upstream-head: 4a3f082
cdleary
added a commit
to xlsynth/xlsynth
that referenced
this pull request
Nov 24, 2026
…der TIv2 Record each resolved use leaf in the root TypeInfo so IR conversion can find its defining module when collecting constant dependencies. Restore the grouped-constant language test under TIv2 and compare its DSLX and IR interpreter results. Upstream-head: 4a3f082
This branch has not been deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
TIv2 already resolves both names in
use mod_imported_multi_const::{MOL, ONE}. When convertingMOL + ONEto IR, the constant dependency collector looks up eachuseleaf in the rootTypeInfo. Record the defining module and its type information there when TIv2 resolves the leaf.Re-enable
mod_use_multiand compare the DSLX and IR interpreter results. With just the test enabled on main, IR conversion fails to find the import forMOL. With this change, both interpreters returnu32:43.The restored language test, its format check, the TIv2 declaration tests, and the IR converter tests passed. All 2,234 selected targets in the optimized XLS test sweep passed.
Part of #2876.