aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Radanov Ivanov <ivanov.i.aa@m.titech.ac.jp>2024-10-20 01:35:01 +0900
committerIvan Radanov Ivanov <ivanov.i.aa@m.titech.ac.jp>2024-10-20 02:22:17 +0900
commitd8cfd384bb47d38c09ed4e1a1cd598b891d0915b (patch)
tree29a9085c503f7950970712cda4212513cd744b46
parent6f114e0501f1759eab34dc8ddfc3030c03037cd4 (diff)
downloadllvm-users/ivanradanov/flang-workshare-elemental-lowering.zip
llvm-users/ivanradanov/flang-workshare-elemental-lowering.tar.gz
llvm-users/ivanradanov/flang-workshare-elemental-lowering.tar.bz2
-rw-r--r--flang/lib/Optimizer/Builder/HLFIRTools.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/flang/lib/Optimizer/Builder/HLFIRTools.cpp b/flang/lib/Optimizer/Builder/HLFIRTools.cpp
index 3333313..7425ccf 100644
--- a/flang/lib/Optimizer/Builder/HLFIRTools.cpp
+++ b/flang/lib/Optimizer/Builder/HLFIRTools.cpp
@@ -878,7 +878,6 @@ hlfir::LoopNest hlfir::genLoopNest(mlir::Location loc,
lnops.loopSteps.push_back(one);
}
auto lnOp = builder.create<mlir::omp::LoopNestOp>(loc, lnops);
- builder.create<mlir::omp::TerminatorOp>(loc);
mlir::Block *block = builder.createBlock(&lnOp.getRegion());
for (auto extent : llvm::reverse(extents))
block->addArgument(extent.getType(), extent.getLoc());