This FIXME is fixed, now that SCEV understands pointers.

llvm-svn: 69651
This commit is contained in:
Dan Gohman 2009-04-21 01:41:18 +00:00
parent e000df6882
commit c4938497b3
1 changed files with 0 additions and 3 deletions

View 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))