aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-05-18 16:17:44 +0000
committerDan Gohman <gohman@apple.com>2009-05-18 16:17:44 +0000
commitc897f75badeb02289dc316a56c413a90958b6ea1 (patch)
treeaede48d0c6884cf250371ab15f4381c3ad989643 /lib
parent8b93818bf215c0943b8f295205886d164e18f0e4 (diff)
downloadexternal_llvm-c897f75badeb02289dc316a56c413a90958b6ea1.zip
external_llvm-c897f75badeb02289dc316a56c413a90958b6ea1.tar.gz
external_llvm-c897f75badeb02289dc316a56c413a90958b6ea1.tar.bz2
Delete a redundant 'else'.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72009 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/Analysis/ScalarEvolution.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/ScalarEvolution.cpp b/lib/Analysis/ScalarEvolution.cpp
index c53ec8a..3480a31 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;