mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-23 12:40:38 +00:00
Use range for
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300334 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
7fd520400d
commit
edfd87d481
@ -120,9 +120,7 @@ const SCEV *PostIncTransform::TransformImpl(const SCEV *S) {
|
||||
SmallVector<const SCEV *, 8> Operands;
|
||||
bool Changed = false;
|
||||
// Transform each operand.
|
||||
for (SCEVNAryExpr::op_iterator I = X->op_begin(), E = X->op_end();
|
||||
I != E; ++I) {
|
||||
const SCEV *O = *I;
|
||||
for (auto *O : X->operands()) {
|
||||
const SCEV *N = TransformSubExpr(O);
|
||||
Changed |= N != O;
|
||||
Operands.push_back(N);
|
||||
|
Loading…
Reference in New Issue
Block a user