Repository navigation
fix(native): retain FF publication from other lane tasks - #1976
Merged
mergify[bot] merged 1 commit intoOct 25, 2026
Conversation
Contributor
Author
|
This pull request is part of a Mergify stack:
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
A lane task can update one array element while publishing another element computed by a different task. Applying the complete-event working-memory rewrite to that task removed the other producer's Commit, leaving a four-stage pipeline stuck after its second stage. Use a partial-event entry point for lane compilation. Track possibly uninitialized access fragments through the CFG and preserve external pending reads and publications. Retain direct updates when all paths define the observed fragments, and keep complete-event optimization unchanged. Carry NativeMergeKind from task construction through compilation so partial and fused comb/FF optimization decisions are independent of diagnostic labels. Use an exhaustive match for the working-state rewrite. Add five optimizer regressions and a portable generate-if pipeline case covering ascending and descending arrays with one, two and four stages. Validation on master feba1a5, with this commit checked out alone: - Generate-if pipeline regression: all five backends passed. - Native parallel common regressions: 303 passed. - SIR optimizer: 473 passed, one existing ignored, plus its doctest. - Native image and differential scheduler regressions: 50 passed. - Clippy for celox-sir-opt and celox, including SV test registrations, passed. The unchanged shared pipeline case also passed Icarus and Verilator during validation on master 644beac; external adapters and this case are unchanged. With the stacked SV fix, rebuilt NAPI and passed the threads E2E test and all three runtime-event addon tests. Workspace check (excluding lydite-celox), formatting, lint and submodule checks passed. After replacing label-based dispatch with NativeMergeKind, 2,283 Native regressions passed on this commit alone, including the common parallel suite, image/differential scheduler tests and the Native SV variants. Affected-crate clippy also passed. Change-Id: I14a726b2bd25a3b561d230855cd9bcb81dd52da2
tignear
force-pushed
the
stack/tignear/fix/sv-conditional-range/retain-ff-publication-other-lane-tasks--14a726b2
branch
from
October 25, 2026 09:16
d12d7f2 to
58b7e66
Compare
Contributor
Author
Revision history
|
Contributor
Merge Queue Status
This pull request spent 1 hour 5 minutes 25 seconds in the queue, including 46 minutes 38 seconds running CI. Required conditions to merge
|
mergify
Bot
deleted the
stack/tignear/fix/sv-conditional-range/retain-ff-publication-other-lane-tasks--14a726b2
branch
October 25, 2026 11:23
This was referenced Oct 25, 2026
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.
A lane task can update one array element while publishing another element
computed by a different task. Applying the complete-event working-memory
rewrite to that task removed the other producer's Commit, leaving a
four-stage pipeline stuck after its second stage.
Use a partial-event entry point for lane compilation. Track possibly
uninitialized access fragments through the CFG and preserve external
pending reads and publications. Retain direct updates when all paths define
the observed fragments, and keep complete-event optimization unchanged.
Carry NativeMergeKind from task construction through compilation so partial
and fused comb/FF optimization decisions are independent of diagnostic labels.
Use an exhaustive match for the working-state rewrite.
Add five optimizer regressions and a portable generate-if pipeline case
covering ascending and descending arrays with one, two and four stages.
Validation on master feba1a5, with this commit checked out alone:
The unchanged shared pipeline case also passed Icarus and Verilator during
validation on master 644beac; external adapters and this case are unchanged.
With the stacked SV fix, rebuilt NAPI and passed the threads E2E test
and all three runtime-event addon tests. Workspace check (excluding
lydite-celox), formatting, lint and submodule checks passed.
After replacing label-based dispatch with NativeMergeKind, 2,283 Native
regressions passed on this commit alone, including the common parallel
suite, image/differential scheduler tests and the Native SV variants.
Affected-crate clippy also passed.