test(codegen): assert the push-barrier ordering over the CFG region, not a text slice (#7708) - #7858
Merged
Merged
Conversation
…not a text slice The #7708 residue: the barrier moved into apush.barrier.* downstream of apush.realloc, which a slice bounded by those labels structurally cannot see (#7698's failure shape). The invariant itself is live -- the fixture pushes a heap pointer -- so the census walks successors from apush.inbounds instead of being deleted. Claude-Session: https://claude.ai/code/session_01Y1QZ5wUP9gRSwpiweT4Wix
proggeramlug
force-pushed
the
test/7708-cfg-walk-push-barrier
branch
from
August 11, 2026 15:04
94bce42 to
3fc3df1
Compare
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (2)
📝 WalkthroughWalkthroughThe push-barrier test now traverses the reachable ChangesPush-barrier CFG census
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
Suggested reviewers: ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
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.
Closes the last residue of #7708. The census rewrite (CFG walk from
apush.inbounds) replaces the text slice that went blind when the barrier legally moved downstream ofapush.realloc— full analysis and the shared verdict with the peer session on #7708's thread and in the fragment.cargo test -p perry-codegen: 1,306 passed; the ONE remaining failure is typed_f64_receiver_method_clone_raw_loads_after_composed_guards red again on main — window #7833..#7842, prop_cse prime suspect #7857 (typed_f64, red on main since the perf(transform): eliminate redundant property reads across diverging guard chains #7833..fix(codegen,runtime): a declaredstringis not a proof, so it may not pick the+operator #7842 window — filed with suspect ranking, not this PR's doing: it fails identically on main without this change).Summary by CodeRabbit
Bug Fixes
Tests
Documentation