We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f178b1f commit 38f7e06Copy full SHA for 38f7e06
flang/lib/Lower/OpenMP/OpenMP.cpp
@@ -1413,7 +1413,6 @@ static void genBodyOfTargetOp(
1413
auto argIface = llvm::cast<mlir::omp::BlockArgOpenMPOpInterface>(*targetOp);
1414
1415
mlir::Region ®ion = targetOp.getRegion();
1416
- mlir::func::FuncOp func = targetOp->getParentOfType<mlir::func::FuncOp>();
1417
mlir::Block *entryBlock = genEntryBlock(firOpBuilder, args, region);
1418
bindEntryBlockArgs(converter, targetOp, args);
1419
if (!hostEvalInfo.empty())
0 commit comments