[llvm-commits] [llvm] r69651 - /llvm/trunk/lib/Analysis/ScalarEvolution.cpp

Dan Gohman gohman at apple.com
Mon Apr 20 18:41:18 PDT 2009


Author: djg
Date: Mon Apr 20 20:41:18 2009
New Revision: 69651

URL: http://llvm.org/viewvc/llvm-project?rev=69651&view=rev
Log:
This FIXME is fixed, now that SCEV understands pointers.

Modified:
    llvm/trunk/lib/Analysis/ScalarEvolution.cpp

Modified: llvm/trunk/lib/Analysis/ScalarEvolution.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ScalarEvolution.cpp?rev=69651&r1=69650&r2=69651&view=diff

==============================================================================
--- llvm/trunk/lib/Analysis/ScalarEvolution.cpp (original)
+++ llvm/trunk/lib/Analysis/ScalarEvolution.cpp Mon Apr 20 20:41:18 2009
@@ -2234,9 +2234,6 @@
     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))





More information about the llvm-commits mailing list