diff --git a/lib/Analysis/ScalarEvolution.cpp b/lib/Analysis/ScalarEvolution.cpp index c53ec8a5f1a..3480a317c06 100644 --- a/lib/Analysis/ScalarEvolution.cpp +++ b/lib/Analysis/ScalarEvolution.cpp @@ -2201,7 +2201,7 @@ SCEVHandle ScalarEvolution::createSCEV(Value *V) { getSCEV(U->getOperand(1))); // If the RHS of xor is -1, then this is a not operation. - else if (CI->isAllOnesValue()) + if (CI->isAllOnesValue()) return getNotSCEV(getSCEV(U->getOperand(0))); } break;