aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/ScalarEvolution.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-07-20 23:54:43 +0000
committerDan Gohman <gohman@apple.com>2009-07-20 23:54:43 +0000
commitf117ed462c17bcebe7a0f420885e2d7d55465912 (patch)
tree79442412bfe0f937d7f19d9219c0131d7156f09d /lib/Analysis/ScalarEvolution.cpp
parent4500e9eb803616416dc1c8bbc8a7f230c2a0bff2 (diff)
Add a comment to clarify why there isn't any code in this spot.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76505 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ScalarEvolution.cpp')
-rw-r--r--lib/Analysis/ScalarEvolution.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Analysis/ScalarEvolution.cpp b/lib/Analysis/ScalarEvolution.cpp
index 2b97a8cc13..3b388dccde 100644
--- a/lib/Analysis/ScalarEvolution.cpp
+++ b/lib/Analysis/ScalarEvolution.cpp
@@ -4324,6 +4324,8 @@ bool ScalarEvolution::isKnownPredicate(ICmpInst::Predicate Pred,
break;
}
case ICmpInst::ICMP_EQ:
+ // The check at the top of the function catches the case where
+ // the values are known to be equal.
break;
}
return false;