Delete a redundant 'else'.
authorDan Gohman <gohman@apple.com>
Mon, 18 May 2009 16:17:44 +0000 (16:17 +0000)
committerDan Gohman <gohman@apple.com>
Mon, 18 May 2009 16:17:44 +0000 (16:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72009 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/ScalarEvolution.cpp

index c53ec8a5f1a8d558cee2f5dc32853a691c312fca..3480a317c061e213480ef911903f8b3c48f36903 100644 (file)
@@ -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;