From f117ed462c17bcebe7a0f420885e2d7d55465912 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Mon, 20 Jul 2009 23:54:43 +0000 Subject: [PATCH] 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 --- lib/Analysis/ScalarEvolution.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Analysis/ScalarEvolution.cpp b/lib/Analysis/ScalarEvolution.cpp index 2b97a8cc13d..3b388dccdee 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; -- 2.34.1