forked from OSchip/llvm-project
[OPENMP][NVPTX]Increment iterator only when it is used, NFC.
llvm-svn: 344574
This commit is contained in:
parent
e70c560b6d
commit
93a38d60be
|
@ -2138,7 +2138,8 @@ void CGOpenMPRuntimeNVPTX::emitGenericVarsProlog(CodeGenFunction &CGF,
|
|||
CGF.EmitStoreOfScalar(ParValue, VarAddr);
|
||||
I->getSecond().MappedParams->setVarAddr(CGF, VD, VarAddr.getAddress());
|
||||
}
|
||||
++SecIt;
|
||||
if (IsTTD)
|
||||
++SecIt;
|
||||
}
|
||||
}
|
||||
for (const ValueDecl *VD : I->getSecond().EscapedVariableLengthDecls) {
|
||||
|
|
Loading…
Reference in New Issue