From 0bac95e2e2044b574f3aea14a3fdb31c1b95240f Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 18 May 2009 16:17:44 +0000 Subject: [PATCH] Delete a redundant 'else'. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72009 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/ScalarEvolution.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;