mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-02 08:46:23 +00:00
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
This commit is contained in:
parent
84923602fd
commit
59d0704c8f
@ -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
Block a user