Files
6gbvram---16gb-ram/crates
KoLolX3 3dd467ccee Shaders: a phi that only another read phi consumes is live too
fill_phis treats a phi no one read directly as dead and fills a value
with no DXIL form (an unsupported s_memtime result, say) with zero. When
that value reaches a read through two joins, the first phi is only read
by the second, so it was never marked read: the read lowered with a
zero where the same value read directly is refused with "a scalar
memory read as data".

Mark the incoming phis of every read phi as read, transitively, before
the phis are filled. The reproducer from #604 now agrees for the direct
and the joined read, and the dead control (the timestamp replaced by a
group id) still lowers.
2026-11-23 21:36:08 -08:00
..
2026-11-23 01:15:26 +01:00