[Mlir-commits] [flang] [mlir] [mlir][OpenMP] Separate OutlinableInterface from taskloop LoopWrapper (PR #188068)

Sergio Afonso llvmlistbot at llvm.org
Wed Apr 1 08:35:43 PDT 2026


================
@@ -1049,7 +1104,7 @@ def TaskloopOp : OpenMP_Op<"taskloop", traits = [
   }];
 
   let extraClassDeclaration = [{
-    void getEffects(SmallVectorImpl<MemoryEffects::EffectInstance> &effects);
+    TaskloopContextOp getContextOp();
----------------
skatrak wrote:

Nit: It might be easy to mistake this with calls to `getContext()`, which are entirely different things. Maybe the more verbose `getTaskloopContext()` would be a better option here, but feel free to ignore if you disagree.

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


More information about the Mlir-commits mailing list