forked from OSchip/llvm-project
This FIXME is fixed, now that SCEV understands pointers.
llvm-svn: 69651
This commit is contained in:
parent
e000df6882
commit
c4938497b3
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue