mirror of
https://github.com/boykopovar/AnyPS5.git
synced 2026-11-04 13:07:32 +00:00
SplitDescriptorPhi (#414) handles a T# or S# that is a Phi of SRT reads in one block. A descriptor picked inside a loop through a jump table reaches the read as a chain of Phis rooted at the loop header, so the plan threw "GetImageResource dword 0 is not a valid runtime value". When the one-block split does not apply, walk the descriptor dwords together through the Phi web, give each distinct SRT descriptor an arm, build a U32 selector Phi web carrying the arm index, and select between one copy of the read per arm. Paths whose dwords hold a program-counter, EXEC or ballot value fold onto the first arm (listed in TechnicalDebt); any other descriptor that cannot be recomputed still throws. Co-Authored-By: Claude Opus 5.5 <[email protected]>