[Mlir-commits] [mlir] [mlir] Added `Convergent` trait that matches LLVM's semantics (PR #152358)

Mehdi Amini llvmlistbot at llvm.org
Mon Aug 11 09:40:05 PDT 2025


================
@@ -2113,6 +2113,11 @@ def TestTypeChangerOp : TEST_Op<"type_changer">,
 def TestValidOp : TEST_Op<"valid", [Terminator]>,
   Arguments<(ins Variadic<AnyType>)>;
 
+def TestConvergentOp : TEST_Op<"convergent", [Convergent]> {
+  let arguments = (ins AnyType);
+  let results = (outs AnyType);
+}
----------------
joker-eph wrote:

What is this doing right now? Without an actual test exercising this op, adding an op isn't useful.

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


More information about the Mlir-commits mailing list