Phis have a quirk where the same predecessor block may appear multiple times
if the same block branches to it multiple ways. All the values need to match,
but this was replacing each operand independently. If an operand can be simplified,
make sure to replace every instance of the incoming block's value.
Details
Details
- Reviewers
lebedev.ri aeubanks fhahn regehr
Diff Detail
Diff Detail