[Mlir-commits] [mlir] [mlir][transf] Traits and interf. of alternatives, foreach, and yield. (PR #112169)

Oleksandr Alex Zinenko llvmlistbot at llvm.org
Fri Nov 8 07:32:21 PST 2024


Ingo =?utf-8?q?Müller?= <ingomueller at google.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/112169 at github.com>


================
@@ -1358,7 +1368,8 @@ def VerifyOp : TransformDialectOp<"verify",
 }
 
 def YieldOp : TransformDialectOp<"yield",
-    [Terminator, DeclareOpInterfaceMethods<MemoryEffectsOpInterface>]> {
+    [Terminator, ReturnLike,
----------------
ftynse wrote:

Actually, I missed this and noticed on the other commit. I don't think yield is return-like. Is this necessary?

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


More information about the Mlir-commits mailing list