[llvm-branch-commits] [flang] [mlir] [mlir][OpenMP] Rename omp.taskloop to omp.taskloop.wrapper (PR #188071)
Kaviya Rajendiran via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Tue Mar 24 23:19:58 PDT 2026
================
@@ -3283,7 +3283,7 @@ static mlir::omp::TaskloopContextOp genStandaloneTaskloop(
mlir::OpBuilder::InsertionGuard guard(firOpBuilder);
firOpBuilder.setInsertionPointToStart(&taskLoopContextOp.getRegion().front());
- auto taskLoopOp = genWrapperOp<mlir::omp::TaskloopOp>(
+ auto taskLoopOp = genWrapperOp<mlir::omp::TaskloopWrapperOp>(
----------------
kaviya2510 wrote:
NIT: Please consider renaming `taskLoopOp` to `taskLoopWrapperOp` for better clarity
```suggestion
auto taskLoopWrapperOp = genWrapperOp<mlir::omp::TaskloopWrapperOp>(
```
https://github.com/llvm/llvm-project/pull/188071
More information about the llvm-branch-commits
mailing list