Files
metal2vulkan/docs
Anees Iqbal 2e5503c0f7 Translator: a store moves into the ways of a branch only under a key that orders nothing
The sink (lower::access::quad::sink) ran on the specialized entry, before lockstep's order, on
every profile. Lockstep pairs only accesses that reach each other on one path, so a store moved
into each way of a branch whose lanes diverge lost its pairs with the other way's accesses:
under a key that orders lanes (the resident-table domains), a pair the program has, which
lockstep would have ordered, went unordered. The sink now runs on the ordered entry, and only
under a key that orders nothing (OrderKey::orders_nothing, the identity domains, which order no
pair and so lose none); under a key that orders, the store stays in its block. Under the
identity domains the same stores move; the order, which inserts nothing there, now finds the
pairs behind its SimdgroupAccessOrder note in the program as written.

engine_store_quad's descriptor-profile test now asks for sst_split's seven word stores there.

Verified: the test fails before this change, on moltenvk-m3 with seven stores where six are
expected (filtered, 3 tests), and passes after (filtered, 47 tests), with clippy clean
(m3-max-80575). Under the identity domains the change moves the same stores: the row_tail module
is byte-identical before and after it on the committed rtx50, lavapipe, 780M and Iris Xe profiles
(m3-max-80635). At the branch's last commit: clippy in all three configurations, rustdoc, the
runtime's suite on lavapipe (942 passed, 4 skipped), the translator's (3412 passed, 37 skipped,
the tables a bless is due for left out), validation's (1319 passed, 3 skipped) and
conformance's (1047 passed) (m3-max-80665).
2026-12-02 16:24:50 -08:00
..