- InstVal &IV = getValueState(PN->getIncomingValue(i));
- if (IV.isUndefined()) continue; // Doesn't influence PHI node.
- if (IV.isOverdefined()) { // PHI node becomes overdefined!
- markOverdefined(PN);
- return;
- }
-
- if (OperandIV == 0) { // Grab the first value...
- OperandIV = &IV;
- } else { // Another value is being merged in!
- // There is already a reachable operand. If we conflict with it,
- // then the PHI node becomes overdefined. If we agree with it, we
- // can continue on.
-
- // Check to see if there are two different constants merging...
- if (IV.getConstant() != OperandIV->getConstant()) {
- // Yes there is. This means the PHI node is not constant.
- // You must be overdefined poor PHI.
- //
- markOverdefined(I); // The PHI node now becomes overdefined
- return; // I'm done analyzing you
- }
- }
+ InstVal &IV = getValueState(PN->getIncomingValue(i));
+ if (IV.isUndefined()) continue; // Doesn't influence PHI node.
+ if (IV.isOverdefined()) { // PHI node becomes overdefined!
+ markOverdefined(PN);
+ return;
+ }
+
+ if (OperandIV == 0) { // Grab the first value...
+ OperandIV = &IV;
+ } else { // Another value is being merged in!
+ // There is already a reachable operand. If we conflict with it,
+ // then the PHI node becomes overdefined. If we agree with it, we
+ // can continue on.
+
+ // Check to see if there are two different constants merging...
+ if (IV.getConstant() != OperandIV->getConstant()) {
+ // Yes there is. This means the PHI node is not constant.
+ // You must be overdefined poor PHI.
+ //
+ markOverdefined(I); // The PHI node now becomes overdefined
+ return; // I'm done analyzing you
+ }
+ }