From: Dan Gohman Date: Mon, 18 May 2009 16:17:44 +0000 (+0000) Subject: Delete a redundant 'else'. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=0bac95e2e2044b574f3aea14a3fdb31c1b95240f;p=oota-llvm.git Delete a redundant 'else'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72009 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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;