[Mlir-commits] [mlir] [mlir][ods] Enable basic string interpolation in constraint summary. (PR #153603)

Mehdi Amini llvmlistbot at llvm.org
Thu Nov 6 14:54:47 PST 2025


================
@@ -16,7 +16,7 @@ def AType : Type<ATypePred, "a type">;
 def OtherType : Type<ATypePred, "another type">;
 
 def AnAttrPred : CPred<"attrPred($_self, $_op)">;
-def AnAttr : Attr<AnAttrPred, "an attribute">;
+def AnAttr : Attr<AnAttrPred, "an attribute (got {{reformat($_self)}})">;
----------------
joker-eph wrote:

Thanks! The change around the `"` everywhere made it hard to figure out the coverage: the UI just showed many line change where only the `"` was the diff and I couldn't figure it out.

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


More information about the Mlir-commits mailing list