summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/ScalarEvolutionExpander.cpp
diff options
context:
space:
mode:
authorVictor Campos <victor.campos@arm.com>2019-10-18 13:33:45 +0000
committerVictor Campos <victor.campos@arm.com>2019-10-18 13:33:45 +0000
commite64863d19242c12187ce15768d4a65ad9725e2ce (patch)
tree8b6ec569b9cc2ae72fcb411d02570a860ff339be /llvm/lib/Analysis/ScalarEvolutionExpander.cpp
parent7d325fe57b422116c910f3dba66f6266b2f9409b (diff)
downloadbcm5719-llvm-e64863d19242c12187ce15768d4a65ad9725e2ce.tar.gz
bcm5719-llvm-e64863d19242c12187ce15768d4a65ad9725e2ce.zip
[SCEV] Removing deprecated comment in ScalarEvolutionExpander
Removing a comment in the ScalarEvolutionExpander.cpp file that was about the class SCEVSDivExpr, which has been long gone from LLVM. llvm-svn: 375232
Diffstat (limited to 'llvm/lib/Analysis/ScalarEvolutionExpander.cpp')
-rw-r--r--llvm/lib/Analysis/ScalarEvolutionExpander.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/Analysis/ScalarEvolutionExpander.cpp b/llvm/lib/Analysis/ScalarEvolutionExpander.cpp
index 8070882c150..bceec921188 100644
--- a/llvm/lib/Analysis/ScalarEvolutionExpander.cpp
+++ b/llvm/lib/Analysis/ScalarEvolutionExpander.cpp
@@ -240,9 +240,6 @@ Value *SCEVExpander::InsertBinop(Instruction::BinaryOps Opcode,
/// division. If so, update S with Factor divided out and return true.
/// S need not be evenly divisible if a reasonable remainder can be
/// computed.
-/// TODO: When ScalarEvolution gets a SCEVSDivExpr, this can be made
-/// unnecessary; in its place, just signed-divide Ops[i] by the scale and
-/// check to see if the divide was folded.
static bool FactorOutConstant(const SCEV *&S, const SCEV *&Remainder,
const SCEV *Factor, ScalarEvolution &SE,
const DataLayout &DL) {
OpenPOWER on IntegriCloud