As a fix for #2897, spirv-fuzz simply does not replace a boolean constant used in an OpPhi with a binary operator instruction, to avoid erroneously adding an instruction before OpPhi.
This could be handled by adding an instruction to the parent block associated with the OpPhi argument.