Skip to content
Unverified Commit 290f6a82 authored by Alastair Donaldson's avatar Alastair Donaldson Committed by GitHub
Browse files

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.
parent 527a6893
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment