projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8492360
)
This FIXME is fixed, now that SCEV understands pointers.
author
Dan Gohman
<gohman@apple.com>
Tue, 21 Apr 2009 01:41:18 +0000
(
01:41
+0000)
committer
Dan 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
patch
|
blob
|
history
diff --git
a/lib/Analysis/ScalarEvolution.cpp
b/lib/Analysis/ScalarEvolution.cpp
index 5308b8d0f536f7b45084c50adce468dbc5e6f3ab..0dbb2580476e985bb95bfc4f13a82337176de77f 100644
(file)
--- a/
lib/Analysis/ScalarEvolution.cpp
+++ b/
lib/Analysis/ScalarEvolution.cpp
@@
-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))