Shaders: single-RPO sparse 1-pass propagate_copies, compact Def table, O(log S) scalar lookup, and stack scratch in resource::track #2783

Open
RVZO6 wants to merge 1 commit from upstream-pr/2785 into main
RVZO6 commented 2026-11-25 20:23:06 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by RVZO6 on 2026-11-25T20:23:06Z.


Claimed in #1633: https://github.com/Marvisak/VIctory/issues/1633#issuecomment-7172903504

Summary

Speeds up resource::track (crates/victory-shader/src/resource.rs, +415/-113 including reference-equivalence test and benchmark) with 100% identical Resources output:

  1. Single RPO + sparse 1-pass propagate_copies: computes ir::reverse_postorder(&p.blocks) once in Tracer::new (instead of 2–3×). Round 0 settles every non-copy and constant write once while collecting only phis and value-copy edges into an RPO-ordered work list; when no phi argument or copy source observes None on round 0 (acyclic CFG), copy propagation converges in 1 pass instead of always running ≥2 full-program passes re-running spilled.get, copy_source, and restored.
  2. Compact Vec<Def> table: merges defs, phis, and inputs (3 Vecs, 52 B/Value) into one Vec<Def> (12 B/Value).
  3. O(log S) scalar lookup: uses out.scalar.binary_search_by_key(&load, |s| s.0) on strictly-sorted out.scalar in track().
  4. Stack scratch buffers: avoids per-call heap Vecs in few_atoms(), descriptor(), edge_taken(), and select() on the common path (<= 8 dwords).

Measured on 13f91ca (--release resource::tests::bench_resource_track, median of 3×50 runs)

Workload Before (13f91ca) After Speedup
Acyclic (4,584 insts, 128 scalar loads, 256 buffer loads) 245.6 µs/run 138.0 µs/run 1.78× (-43.8%)
Cyclic loop (2,007 insts with phis) 46.3 µs/run 27.7 µs/run 1.67× (-40.2%)

Not a duplicate of

  • Checked #2422 (changes block iteration order in track(), orthogonal to Tracer internals / propagate_copies / Def / binary_search_by_key / stack scratch) and #1633; no overlapping PR or claim.

Verification

  • Verified on windows-latest MSVC + WARP SM 6.6 CI (both clippy -D warnings profiles, xtask policy 6/6, victory-shader 272/272 including new sparse_copy_propagation_matches_full_passes_on_acyclic_and_cyclic_cfg verifying exact equality with the full-pass algorithm on acyclic, cyclic, and waterfall CFGs): https://github.com/RVZO6/VIctory/actions/runs/45693633259
  • Not run: the title; any hardware GPU.

AI-assisted: T3 Code (Antigravity, gemini-4-neon)

<!-- greyfinch-sync:Marvisak/VIctory:issue:6613023530 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2785). Originally posted by [RVZO6](https://github.com/RVZO6) on 2026-11-25T20:23:06Z. --- Claimed in #1633: https://github.com/Marvisak/VIctory/issues/1633#issuecomment-7172903504 ### Summary Speeds up `resource::track` (`crates/victory-shader/src/resource.rs`, `+415/-113` including reference-equivalence test and benchmark) with 100% identical `Resources` output: 1. **Single RPO + sparse 1-pass `propagate_copies`:** computes `ir::reverse_postorder(&p.blocks)` once in `Tracer::new` (instead of 2–3×). Round 0 settles every non-copy and constant write once while collecting only phis and value-copy edges into an RPO-ordered `work` list; when no phi argument or copy source observes `None` on round 0 (acyclic CFG), copy propagation converges in 1 pass instead of always running ≥2 full-program passes re-running `spilled.get`, `copy_source`, and `restored`. 2. **Compact `Vec<Def>` table:** merges `defs`, `phis`, and `inputs` (3 `Vec`s, 52 B/Value) into one `Vec<Def>` (12 B/Value). 3. **O(log S) scalar lookup:** uses `out.scalar.binary_search_by_key(&load, |s| s.0)` on strictly-sorted `out.scalar` in `track()`. 4. **Stack scratch buffers:** avoids per-call heap `Vec`s in `few_atoms()`, `descriptor()`, `edge_taken()`, and `select()` on the common path (`<= 8` dwords). ### Measured on `13f91ca` (`--release resource::tests::bench_resource_track`, median of 3×50 runs) | Workload | Before (`13f91ca`) | After | Speedup | |---|---:|---:|---:| | Acyclic (4,584 insts, 128 scalar loads, 256 buffer loads) | `245.6 µs/run` | `138.0 µs/run` | **1.78× (-43.8%)** | | Cyclic loop (2,007 insts with phis) | `46.3 µs/run` | `27.7 µs/run` | **1.67× (-40.2%)** | ### Not a duplicate of - Checked #2422 (changes block iteration order in `track()`, orthogonal to `Tracer` internals / `propagate_copies` / `Def` / `binary_search_by_key` / stack scratch) and #1633; no overlapping PR or claim. ### Verification - Verified on `windows-latest` MSVC + WARP SM 6.6 CI (both clippy `-D warnings` profiles, `xtask` policy 6/6, `victory-shader` 272/272 including new `sparse_copy_propagation_matches_full_passes_on_acyclic_and_cyclic_cfg` verifying exact equality with the full-pass algorithm on acyclic, cyclic, and waterfall CFGs): https://github.com/RVZO6/VIctory/actions/runs/45693633259 - **Not run:** the title; any hardware GPU. AI-assisted: T3 Code (Antigravity, gemini-4-neon)
kotekompotek commented 2026-11-25 21:03:20 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by kotekompotek on 2026-11-25T20:41:25Z.


This hits the right hot path (resource::track dominates translate time on large shader sets). The load-bearing test is sparse_copy_propagation_matches_full_passes_on_acyclic_and_cyclic_cfg - a differential check against the old algorithm is the correct way to prove a copy-prop rewrite. def_site/phi_of/input_of accessors replacing the eager maps is consistent with #2784's lazy-table direction; the two PRs overlap in the same struct so expect a small merge tangle.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7174043974 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2785#issuecomment-7174043974). Originally posted by [kotekompotek](https://github.com/kotekompotek) on 2026-11-25T20:41:25Z. --- This hits the right hot path (resource::track dominates translate time on large shader sets). The load-bearing test is sparse_copy_propagation_matches_full_passes_on_acyclic_and_cyclic_cfg - a differential check against the old algorithm is the correct way to prove a copy-prop rewrite. def_site/phi_of/input_of accessors replacing the eager maps is consistent with #2784's lazy-table direction; the two PRs overlap in the same struct so expect a small merge tangle.
oni-swr commented 2026-11-25 21:03:23 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by oni-swr on 2026-11-25T20:57:24Z.


Independent WARP/CPU verification of head d09e563d42eac61c7e4e0a679c792f22a489ba8e merged cleanly onto origin/main 13f91caee25f2fdf2c062be5f7a27f058e51cbca.

Environment: Windows 11 x64, WARP/CPU only (VICTORY_WARP=1, VICTORY_D3D12_WARP=1), no physical GPU, no game files; Windows SDK 10.0.26100.0 x64 dxil.dll 1.8.2502.11.

Tests (cargo test --no-fail-fast): victory-shader: 268 passed, 3 failed, 4 ignored (baseline 267 passed, 3 failed, 3 ignored; +1 new test, +1 ignored benchmark). victory-shader baseline on origin/main: 267 passed, 3 failed, 3 ignored; the 3 failures (synthetic_tests::a_mask_joined_with_data_at_a_uniform_loop_is_its_number, gathers_at_a_level_match_the_hardware, permutes_read_the_lane_named_and_zero_from_lanes_left_out) fail identically on origin/main under WARP, so they are not caused by this PR.

Negative control: forcing the early-return in propagate_copies (if !saw_none → if true) makes sparse_copy_propagation_matches_full_passes_on_acyclic_and_cyclic_cfg fail; restored afterwards.

Clippy: cargo clippy -p <affected crates> --all-targets -- -D warnings clean (exit 0).
fmt: cargo fmt --check is not clean on origin/main itself (891 diff hunks across many files); this PR: 894 hunks (+3 vs main, in the touched file).

Review: Single forward pass converges only when no phi argument or copy source was unresolved, otherwise the worklist iterates to the same fixpoint as the old full passes; the new test compares against a reference implementation on acyclic, cyclic and waterfall CFGs. The binary_search_by_key on out.scalar relies on it being sorted by load site, which holds since it is pushed in program order. Diff contains no game files, dumps, shader names or retail hashes.

AI disclosure: this verification was done by Claude Code (Claude Sonnet 5.5).

<!-- greyfinch-sync:Marvisak/VIctory:comment:7174416219 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2785#issuecomment-7174416219). Originally posted by [oni-swr](https://github.com/oni-swr) on 2026-11-25T20:57:24Z. --- Independent WARP/CPU verification of head `d09e563d42eac61c7e4e0a679c792f22a489ba8e` merged cleanly onto `origin/main` `13f91caee25f2fdf2c062be5f7a27f058e51cbca`. **Environment:** Windows 11 x64, WARP/CPU only (`VICTORY_WARP=1`, `VICTORY_D3D12_WARP=1`), no physical GPU, no game files; Windows SDK 10.0.26100.0 x64 `dxil.dll` 1.8.2502.11. **Tests** (`cargo test --no-fail-fast`): victory-shader: 268 passed, 3 failed, 4 ignored (baseline 267 passed, 3 failed, 3 ignored; +1 new test, +1 ignored benchmark). victory-shader baseline on `origin/main`: 267 passed, 3 failed, 3 ignored; the 3 failures (`synthetic_tests::a_mask_joined_with_data_at_a_uniform_loop_is_its_number`, `gathers_at_a_level_match_the_hardware`, `permutes_read_the_lane_named_and_zero_from_lanes_left_out`) fail identically on `origin/main` under WARP, so they are not caused by this PR. **Negative control:** forcing the early-return in `propagate_copies` (`if !saw_none` → `if true`) makes `sparse_copy_propagation_matches_full_passes_on_acyclic_and_cyclic_cfg` fail; restored afterwards. **Clippy:** `cargo clippy -p <affected crates> --all-targets -- -D warnings` clean (exit 0). **fmt:** `cargo fmt --check` is not clean on `origin/main` itself (891 diff hunks across many files); this PR: 894 hunks (+3 vs main, in the touched file). **Review:** Single forward pass converges only when no phi argument or copy source was unresolved, otherwise the worklist iterates to the same fixpoint as the old full passes; the new test compares against a reference implementation on acyclic, cyclic and waterfall CFGs. The `binary_search_by_key` on `out.scalar` relies on it being sorted by load site, which holds since it is pushed in program order. Diff contains no game files, dumps, shader names or retail hashes. AI disclosure: this verification was done by Claude Code (Claude Sonnet 5.5).
fuzeofficlal commented 2026-11-25 22:04:24 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by fuzeofficlal on 2026-11-25T21:13:16Z.


Reviewed and benchmarked d09e563d on Windows 11 (RTX 5090 + WARP + Windows SDK 10.0.26100.0 dxil.dll) against main (13f91ca).

Code review

  • Single-pass RPO soundness: in Round 0, SSA values are defined at most once, so returning early only when !saw_none (every read phi arg, copy source, and first_spilled reload was already Some) is algebraically equivalent to full fixed-point iteration; any back-edge, later-defined phi, self-referential phi, or out-of-order reload sets saw_none = true and falls back to the sparse 1..MAX_ROUNDS loop (64 total rounds, matching prior 0..64).
  • out.scalar.binary_search_by_key relies on (b, i) insertion order from track, which is strictly monotonic; few_atoms's [Bool::FALSE; 65] stack pops 1 and pushes at most 2 per node with early exit at nodes > 32 (max depth 33 < 65).
  • Merge compatibility: clean git merge-tree vs 13f91ca, #2664, #2784, #2786, #2787, #2385, and #2154; conflicts in resource.rs::propagate_copies with #2387 (which adds xor_cancelled there—easy to adapt by setting saw_none = true if xor_cancelled sees an unresolved operand).

Verification & same-machine --release benchmark (rustc 1.98.1 MSVC)

  • WARP + dxil.dll victory-shader --features host: 268 passed, 0 failed (including sparse_copy_propagation_matches_full_passes_on_acyclic_and_cyclic_cfg); RTX 5090 + dxil.dll: 255 passed, 0 failed (0 regressions).
  • cargo clippy --locked -p victory-shader --all-targets -- -D warnings (default & --features host): 0 warnings; cargo xtask policy: 184 files ok.
  • resource::tests::bench_resource_track (--release, 3-run median × 50 iters, vs 13f91ca):
    • acyclic_4584: 194.7 µs/run -> 103.8 µs/run (1.88× / -46.7%)
    • loop_2007: 19.6 µs/run -> 13.3 µs/run (1.47× / -32.1%)
<!-- greyfinch-sync:Marvisak/VIctory:comment:7174775126 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2785#issuecomment-7174775126). Originally posted by [fuzeofficlal](https://github.com/fuzeofficlal) on 2026-11-25T21:13:16Z. --- Reviewed and benchmarked `d09e563d` on Windows 11 (RTX 5090 + WARP + Windows SDK `10.0.26100.0` `dxil.dll`) against `main` (`13f91ca`). ### Code review - **Single-pass RPO soundness**: in Round 0, SSA values are defined at most once, so returning early only when `!saw_none` (every read phi arg, copy source, and `first_spilled` reload was already `Some`) is algebraically equivalent to full fixed-point iteration; any back-edge, later-defined phi, self-referential phi, or out-of-order reload sets `saw_none = true` and falls back to the sparse `1..MAX_ROUNDS` loop (64 total rounds, matching prior `0..64`). - `out.scalar.binary_search_by_key` relies on `(b, i)` insertion order from `track`, which is strictly monotonic; `few_atoms`'s `[Bool::FALSE; 65]` stack pops 1 and pushes at most 2 per node with early exit at `nodes > 32` (max depth `33 < 65`). - **Merge compatibility**: clean `git merge-tree` vs `13f91ca`, `#2664`, `#2784`, `#2786`, `#2787`, `#2385`, and `#2154`; conflicts in `resource.rs::propagate_copies` with `#2387` (which adds `xor_cancelled` there—easy to adapt by setting `saw_none = true` if `xor_cancelled` sees an unresolved operand). ### Verification & same-machine `--release` benchmark (`rustc 1.98.1` MSVC) - WARP + `dxil.dll` `victory-shader --features host`: **268 passed, 0 failed** (including `sparse_copy_propagation_matches_full_passes_on_acyclic_and_cyclic_cfg`); RTX 5090 + `dxil.dll`: **255 passed, 0 failed** (0 regressions). - `cargo clippy --locked -p victory-shader --all-targets -- -D warnings` (default & `--features host`): **0 warnings**; `cargo xtask policy`: **184 files ok**. - `resource::tests::bench_resource_track` (`--release`, 3-run median × 50 iters, vs `13f91ca`): - `acyclic_4584`: `194.7 µs/run` -> **`103.8 µs/run`** (**1.88× / -46.7%**) - `loop_2007`: `19.6 µs/run` -> **`13.3 µs/run`** (**1.47× / -32.1%**)
Marvisak commented 2026-11-26 00:03:20 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by Marvisak on 2026-11-25T23:14:05Z.


Automated triage for the maintainers.

Needs work. Re-reviewed at 77176da. The first point is resolved: track() in crates/victory-shader/src/resource.rs again uses the linear out.scalar.iter().find(..), so a non-monotonic push order, as with #2422's RPO walk, stays correct.

The second point is still open. The only end-to-end numbers in the thread, from @steven-seagull27, show no gain for full translation (74.2 vs 74.7 ms, 38.9 vs 39.1 ms, 55.0 vs 56.8 ms). Dropping the binary search also gives back part of the in-pass gain. A ~500-line rewrite of a subtle pass needs either an end-to-end improvement, for example translate --cache time over a real program set, or a cut-down to the parts that clearly pay off.

Reply to the author: thanks for the fix. Please add a measurement or narrow the change.

CI: check passing.


Generated by Claude Code

<!-- greyfinch-sync:Marvisak/VIctory:comment:7177295886 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2785#issuecomment-7177295886). Originally posted by [Marvisak](https://github.com/Marvisak) on 2026-11-25T23:14:05Z. --- <!-- victory-triage v1 head=77176dad56f44cde52307c206e76d0e00cc69064 verdict=needs-work at=2026-11-26T07:18:44Z --> Automated triage for the maintainers. **Needs work.** Re-reviewed at `77176da`. The first point is resolved: `track()` in `crates/victory-shader/src/resource.rs` again uses the linear `out.scalar.iter().find(..)`, so a non-monotonic push order, as with #2422's RPO walk, stays correct. The second point is still open. The only end-to-end numbers in the thread, from @steven-seagull27, show no gain for full translation (74.2 vs 74.7 ms, 38.9 vs 39.1 ms, 55.0 vs 56.8 ms). Dropping the binary search also gives back part of the in-pass gain. A ~500-line rewrite of a subtle pass needs either an end-to-end improvement, for example `translate --cache` time over a real program set, or a cut-down to the parts that clearly pay off. **Reply to the author:** thanks for the fix. Please add a measurement or narrow the change. CI: `check` passing. --- _Generated by [Claude Code](https://claude.ai/code)_
RVZO6 commented 2026-11-26 01:04:01 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by RVZO6 on 2026-11-26T00:20:59Z.


Rebased onto current main (63bcca4, head 5dc17ab). Preserved Tracer::sums (t.sums.take()) from 63bcca4. Verified green on windows-latest MSVC + WARP SM 6.6 CI (clippy, xtask policy, full workspace tests): https://github.com/RVZO6/VIctory/actions/runs/45727774760.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7178661945 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2785#issuecomment-7178661945). Originally posted by [RVZO6](https://github.com/RVZO6) on 2026-11-26T00:20:59Z. --- Rebased onto current `main` (`63bcca4`, head `5dc17ab`). Preserved `Tracer::sums` (`t.sums.take()`) from `63bcca4`. Verified green on `windows-latest` MSVC + WARP SM 6.6 CI (clippy, xtask policy, full workspace tests): https://github.com/RVZO6/VIctory/actions/runs/45727774760.
steven-seagull27 commented 2026-11-26 04:06:12 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by steven-seagull27 on 2026-11-26T03:15:54Z.


I merged 5dc17ab onto the gameplay reporter's Part 7 build (4fdad62) and compared the two Windows release builds. Across 192 public compute shaders, all emitted DXIL bytes and host binding metadata matched. All 384 DXIL outputs passed the Windows SDK validator.

Workload Without #2785 With #2785
resource::track, 4,584 instructions, 128 scalar loads and 256 buffer loads 146.2 µs 66.9 µs
resource::track, 2,007-instruction loop 21.8 µs 14.2 µs
Full translation, 64 buffer/VALU shaders, eight workers 74.2 ms 74.7 ms
Full translation, 64 join-heavy shaders, eight workers 38.9 ms 39.1 ms
Full translation, 64 shaders with 16–520 descriptor loads each, eight workers 55.0 ms 56.8 ms

The first two rows are medians of seven 50-call runs. Each full-batch result is the median of 21 samples in seven alternating trials. These inputs show a repeatable reduction inside the resource pass. The eight-worker totals were close, with substantial run-to-run variation. The full-translation fixture accepts VICTORY_BENCH_CORPUS=table-loads for the third batch.

One integration detail for #2422. Its RPO walk appends scalar (block, instruction) keys in a different order than this PR's binary search expects. I moved the setup of the existing indexed waterfall to a higher-numbered block. Each PR independently retained the dynamic table load. Taking both changes as written dropped waterfall.loads from [(1, 2)] to []. The two static loads executed before that loop and made the lookup table unsorted by block number.

The regression fixture and integration fix are available on my fork. The fix searches by the existing RPO rank and instruction index, and uses the same traversal for tracing and insertion. On the combined build all 32 lanes sampled the expected alternating texture values on the RTX 5080, built-in WARP and WARP 1.0.22. The combined resource suite passed 38 tests, the waterfall suite passed six, and strict Clippy and asset policy passed. This applies when taking both changes together; 5dc17ab alone passed the regression.

<!-- greyfinch-sync:Marvisak/VIctory:comment:7181549525 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2785#issuecomment-7181549525). Originally posted by [steven-seagull27](https://github.com/steven-seagull27) on 2026-11-26T03:15:54Z. --- I merged `5dc17ab` onto the gameplay reporter's Part 7 build (`4fdad62`) and compared the two Windows release builds. Across 192 public compute shaders, all emitted DXIL bytes and host binding metadata matched. All 384 DXIL outputs passed the Windows SDK validator. | Workload | Without #2785 | With #2785 | |---|---:|---:| | `resource::track`, 4,584 instructions, 128 scalar loads and 256 buffer loads | 146.2 µs | 66.9 µs | | `resource::track`, 2,007-instruction loop | 21.8 µs | 14.2 µs | | Full translation, 64 buffer/VALU shaders, eight workers | 74.2 ms | 74.7 ms | | Full translation, 64 join-heavy shaders, eight workers | 38.9 ms | 39.1 ms | | Full translation, 64 shaders with 16–520 descriptor loads each, eight workers | 55.0 ms | 56.8 ms | The first two rows are medians of seven 50-call runs. Each full-batch result is the median of 21 samples in seven alternating trials. These inputs show a repeatable reduction inside the resource pass. The eight-worker totals were close, with substantial run-to-run variation. The [full-translation fixture](https://github.com/steven-seagull27/VIctory/commit/46c87acaefcdd37e269f51e02f6961b49580d06c) accepts `VICTORY_BENCH_CORPUS=table-loads` for the third batch. **One integration detail for #2422.** Its RPO walk appends scalar `(block, instruction)` keys in a different order than this PR's binary search expects. I moved the setup of the existing indexed waterfall to a higher-numbered block. Each PR independently retained the dynamic table load. Taking both changes as written dropped `waterfall.loads` from `[(1, 2)]` to `[]`. The two static loads executed before that loop and made the lookup table unsorted by block number. The [regression fixture](https://github.com/steven-seagull27/VIctory/commit/fffa0951e92ba2ca5ec17f66d53abc19c263bf92) and [integration fix](https://github.com/steven-seagull27/VIctory/commit/5819ea8d498dcd9ab227b3da9d2c201cdd913e5d) are available on my fork. The fix searches by the existing RPO rank and instruction index, and uses the same traversal for tracing and insertion. On the combined build all 32 lanes sampled the expected alternating texture values on the RTX 5080, built-in WARP and WARP 1.0.22. The combined resource suite passed 38 tests, the waterfall suite passed six, and strict Clippy and asset policy passed. This applies when taking both changes together; `5dc17ab` alone passed the regression.
RVZO6 commented 2026-11-26 06:03:46 +00:00 (Migrated from github.com)

Imported from Marvisak/VIctory. Originally posted by RVZO6 on 2026-11-26T05:43:00Z.


Addressed the out.scalar ordering feedback in 77176da:

  • Restored the linear out.scalar.iter().find(|s| s.0 == load) lookup in track() so non-monotonic block insertion orders (such as #2422's RPO walk) remain sound.

Verified green on windows-latest MSVC + WARP SM 6.6 CI (clippy default + --all-features, xtask policy, full workspace tests): https://github.com/RVZO6/VIctory/actions/runs/45762903919

AI-assisted: T3 Code (Antigravity, gemini-4-neon)

<!-- greyfinch-sync:Marvisak/VIctory:comment:7183740295 --> Imported from [Marvisak/VIctory](https://github.com/Marvisak/VIctory/pull/2785#issuecomment-7183740295). Originally posted by [RVZO6](https://github.com/RVZO6) on 2026-11-26T05:43:00Z. --- Addressed the `out.scalar` ordering feedback in `77176da`: - Restored the linear `out.scalar.iter().find(|s| s.0 == load)` lookup in `track()` so non-monotonic block insertion orders (such as #2422's RPO walk) remain sound. Verified green on `windows-latest` MSVC + WARP SM 6.6 CI (clippy default + `--all-features`, `xtask policy`, full workspace tests): https://github.com/RVZO6/VIctory/actions/runs/45762903919 AI-assisted: T3 Code (Antigravity, gemini-4-neon)
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/2785:upstream-pr/2785'
git switch 'upstream-pr/2785'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/2785'
git switch 'upstream-pr/2785'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/2785'
git switch 'upstream-pr/2785'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/2785'
git switch 'main'
git merge --squash 'upstream-pr/2785'
git switch 'main'
git merge --ff-only 'upstream-pr/2785'
git switch 'main'
git merge 'upstream-pr/2785'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Marvisak/VIctory!2783
No description provided.