mirror of
https://github.com/github/codeql.git
synced 2026-04-29 02:35:15 +02:00
Now that `PhiInstruction.getAnInput` only has results for congruent operands, a previous optimization I made to `getConstantValue` is no longer sound. We have to check that all phi inputs give the same value, not just the congruent ones. After this change, if there are any non-congruent operands on a phi instruction, the whole aggregate will have no result.