[SCEVValidator] Remove redundant visit.
SCEVAddRecExpr::getStart() is synonymous to SCEVAddRecExpr::getOperand(0) which will be visited in the following loop anyway. llvm-svn: 262375
This commit is contained in:
parent
f1e9cae00e
commit
b3a7935d54
|
@ -476,9 +476,6 @@ public:
|
|||
}
|
||||
|
||||
bool visitAddRecExpr(const SCEVAddRecExpr *Expr) {
|
||||
if (visit(Expr->getStart()))
|
||||
return true;
|
||||
|
||||
for (size_t i = 0; i < Expr->getNumOperands(); ++i)
|
||||
if (visit(Expr->getOperand(i)))
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue