aboutsummaryrefslogtreecommitdiff
path: root/lib/Analysis/ScalarEvolution.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2009-04-21 01:41:18 +0000
committerDan Gohman <gohman@apple.com>2009-04-21 01:41:18 +0000
commit59d0704c8f38c279670c5d555a44e5b33696ca89 (patch)
tree0f4a0e18414a74a291001c2cf4166c826a01e2d0 /lib/Analysis/ScalarEvolution.cpp
parent84923602fdc2a81957e5dee178d5737ad8e72f55 (diff)
This FIXME is fixed, now that SCEV understands pointers.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69651 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/ScalarEvolution.cpp')
-rw-r--r--lib/Analysis/ScalarEvolution.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/Analysis/ScalarEvolution.cpp b/lib/Analysis/ScalarEvolution.cpp
index 5308b8d0f5..0dbb258047 100644
--- a/lib/Analysis/ScalarEvolution.cpp
+++ b/lib/Analysis/ScalarEvolution.cpp
@@ -2234,9 +2234,6 @@ SCEVHandle ScalarEvolutionsImpl::ComputeBackedgeTakenCount(const Loop *L) {
Cond = ICmpInst::getSwappedPredicate(Cond);
}
- // FIXME: think about handling pointer comparisons! i.e.:
- // while (P != P+100) ++P;
-
// If we have a comparison of a chrec against a constant, try to use value
// ranges to answer this query.
if (SCEVConstant *RHSC = dyn_cast<SCEVConstant>(RHS))