[PATCH] D26892: [SCCP] Remove (maybe?) wrong code in visitBinaryOperator

Davide Italiano via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 19 18:35:39 PST 2016


davide added a comment.

Slight correction:

  When we arrive at this point we already called getValueState() on the non-overdefined operand, so if the value is still in the 'unknown' state it means that it was found to be an 'undef' value.

There are two cases:

1. the one outlined above
2. the operand hasn't been resolved yet, so we still need to wait for it.


https://reviews.llvm.org/D26892





More information about the llvm-commits mailing list