Skip to content

Commit 18e1708

Browse files
author
Chandra Ghale
committed
review comment , removing redundant code
1 parent 4e6eea6 commit 18e1708

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

clang/lib/CodeGen/CGOpenMPRuntime.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4983,9 +4983,6 @@ void CGOpenMPRuntime::emitPrivateReduction(
49834983

49844984
for (unsigned I :
49854985
llvm::seq<unsigned>(std::min(ReductionOps.size(), LHSExprs.size()))) {
4986-
if (I >= LHSExprs.size()) {
4987-
break;
4988-
}
49894986

49904987
const auto *BinOp = dyn_cast<BinaryOperator>(ReductionOps[I]);
49914988
if (!BinOp || BinOp->getOpcode() != BO_Assign)

0 commit comments

Comments
 (0)