Repository navigation
Bump corgi to WIP 4b1d23b - #925
Merged
frankmcsherry merged 3 commits intoOct 9, 2026
Merged
Conversation
Corgi's surface ops moved since 7d46146; the lowering follows. List indexing uses `Gather`, which is total: an index outside the list reads the zero of the element's shape. `Weave` reads its tags as bytes, so a list literal narrows its `iota` positions with `Cast(8)`. `AddU64` and `CmpOp::Gt` are now the immediate forms `BinImm` and `RelImm`. Corgi's reference values (`Ref`) are read as the rows they name, when transcoding and when ordering reduce values. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Corgi now orders lists lexicographically, as DDIR does. Reduce's `Min` and `Collect` read list values in Corgi's own order, and the adapter that ranked lists lexicographically is removed. Signed integer leaves are still swizzled for the sort. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Corgi uses `std::hint::select_unpredictable`, stable since Rust 1.88. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Moves the corgi pin from 7d46146 to 4b1d23b, and follows corgi's surface changes in the lowering.
List indexing uses
Gather, which is total: an index outside the list reads the zero of the element's shape, where the oldGetpanicked.Weavereads its tags as bytes, so a list literal narrows itsiotapositions withCast(8).AddU64andCmpOp::Gtare now the immediate formsBinImmandRelImm.Corgi's reference values (
Ref) are read as the rows they name, when transcoding and when ordering reduce values.Corgi now orders lists lexicographically, as DDIR does.
Reduce's
MinandCollectread list values in corgi's own order, and the adapter that ranked lists lexicographically is removed.Signed integer leaves are still swizzled for the sort.
The workspace MSRV rises from 1.86 to 1.88, because corgi uses
std::hint::select_unpredictable, stable since Rust 1.88.Checked:
cargo test -p interactivepasses, and all 33 AoC parts give the expected answers on the corgi backend.On a 3,000-node graph,
minandcollectover lists of different lengths give identical output before and after removing the adapter.Timed with
codegen-units=1, binaries interleaved, three runs each, one worker:minandcollect, 400K nodes / 4M edges (adapter → corgi's order)🤖 Generated with Claude Code