spirv-fuzz: do not replace boolean constant argument to OpPhi instruction (#2903)
Before this change, spirv-fuzz would replace a constant boolean argument to an OpPhi with the result of a binary operation, inserting the instruction to compute the binary operation right before the OpPhi, leading to an invalid module. This change conservatively disallows replacing OpPhi arguments. Issue #2902 notes that there is scope for being less conservative. Fixes #2897.
Loading
Please register or sign in to comment