OSDN Git Service

This FIXME is fixed, now that SCEV understands pointers.
authorDan Gohman <gohman@apple.com>
Tue, 21 Apr 2009 01:41:18 +0000 (01:41 +0000)
committerDan Gohman <gohman@apple.com>
Tue, 21 Apr 2009 01:41:18 +0000 (01:41 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@69651 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Analysis/ScalarEvolution.cpp

index 5308b8d..0dbb258 100644 (file)
@@ -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))