summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit34392625861be48685dc54eedc06fe3f48f7738f (patch)
tree0edb427a144b64c65a88121f7ee1b98ce134a056 /llvm/lib/Analysis/ScalarEvolution.cpp
parent00c1aaec5aa8e69213caf64bc4d9681440658ede (diff)
downloadbcm5719-llvm-34392625861be48685dc54eedc06fe3f48f7738f.tar.gz
bcm5719-llvm-34392625861be48685dc54eedc06fe3f48f7738f.zip
Add a comment to clarify why there isn't any code in this spot.
llvm-svn: 76505
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolution.cpp')
-rw-r--r--llvm/lib/Analysis/ScalarEvolution.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/ScalarEvolution.cpp b/llvm/lib/Analysis/ScalarEvolution.cpp
index 2b97a8cc13d..3b388dccdee 100644
--- a/llvm/lib/Analysis/ScalarEvolution.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud