commit | 4f6508063794e429ef087a36a401623695f66cbf | [log] [tgz] |
---|---|---|
author | Davide Italiano <davide@freebsd.org> | Tue Nov 22 22:11:25 2016 +0000 |
committer | Davide Italiano <davide@freebsd.org> | Tue Nov 22 22:11:25 2016 +0000 |
tree | bbc5a8b94239a2106774dfeab5043c39d6b82862 | |
parent | e436226fa30b536820ed93d752a5a1d752d39ee6 [diff] |
[SCCP] Remove code in visitBinaryOperator (and add tests). We visit and/or, we try to derive a lattice value for the instruction even if one of the operands is overdefined. If the non-overdefined value is still 'unknown' just return and wait for ResolvedUndefsIn to "plug in" the correct value. This simplifies the logic a bit. While I'm here add tests for missing cases. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287709 91177308-0d34-0410-b5e6-96231b3b80d8