Skip to content

Commit d8cfd38

Browse files
committed
genLoopNest fix
1 parent 6f114e0 commit d8cfd38

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

flang/lib/Optimizer/Builder/HLFIRTools.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,6 @@ hlfir::LoopNest hlfir::genLoopNest(mlir::Location loc,
878878
lnops.loopSteps.push_back(one);
879879
}
880880
auto lnOp = builder.create<mlir::omp::LoopNestOp>(loc, lnops);
881-
builder.create<mlir::omp::TerminatorOp>(loc);
882881
mlir::Block *block = builder.createBlock(&lnOp.getRegion());
883882
for (auto extent : llvm::reverse(extents))
884883
block->addArgument(extent.getType(), extent.getLoc());

0 commit comments

Comments
 (0)