A descriptor read with v_readfirstlane_b32 was traced to each lane's
own dwords wherever it was, so a first-lane read outside a loop, or one
without the v_cmp_eq that hands every lane its turn, sampled for lanes
the program skipped (reported on the PR with the back edge of the
fetched waterfall test replaced by s_nop).
Now:
- a compare counts only when it and the v_readfirstlane it reads are in
one loop (each block reaches the other);
- every descriptor read from the first lane needs each of its dwords
compared that way, or translation stops with "a descriptor read from
the first lane outside a waterfall loop".
Two tests cover the missing back edge and the missing compare.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01AZ9pSB4ZoXYUifuXg8gm66