[llvm] [mlir] [Flang][OpenMP][Taskloop] Translation support for taskloop construct (PR #166903)

Kaviya Rajendiran via llvm-commits llvm-commits at lists.llvm.org
Sun Nov 16 10:49:09 PST 2025


================
@@ -323,6 +323,18 @@ static LogicalResult checkImplementationStatus(Operation &op) {
     if (op.getDistScheduleChunkSize())
       result = todo("dist_schedule with chunk_size");
   };
+  auto checkFinal = [&todo](auto op, LogicalResult &result) {
+    if (op.getFinal())
+      result = todo("final");
+  };
+  auto checkGrainsize = [&todo](auto op, LogicalResult &result) {
+    if (op.getGrainsize())
+      result = todo("grainsize");
+  };
+  auto checkIf = [](auto op, LogicalResult &) {
+    if (op.getIfExpr())
+      op.emitWarning("if");
----------------
kaviya2510 wrote:

Apologies, It should be a TODO check. Let me update it in follow up patch.

https://github.com/llvm/llvm-project/pull/166903


More information about the llvm-commits mailing list