[flang-commits] [flang] [flang][OpenMP] Rewrite `omp.loop` to semantically equivalent ops (PR #115443)
Sergio Afonso via flang-commits
flang-commits at lists.llvm.org
Tue Nov 26 07:48:34 PST 2024
================
@@ -996,7 +908,8 @@ static void genBodyOfTargetOp(
auto argIface = llvm::cast<mlir::omp::BlockArgOpenMPOpInterface>(*targetOp);
mlir::Region ®ion = targetOp.getRegion();
- mlir::Block *entryBlock = genEntryBlock(converter, args, region);
+ mlir::Block *entryBlock =
+ genEntryBlock(converter.getFirOpBuilder(), args, region);
----------------
skatrak wrote:
```suggestion
genEntryBlock(firOpBuilder, args, region);
```
https://github.com/llvm/llvm-project/pull/115443
More information about the flang-commits
mailing list