[Mlir-commits] [mlir] [MLIR] Harmonize the behavior of the folding API functions (PR #88508)
Matthias Springer
llvmlistbot at llvm.org
Mon Apr 22 09:58:35 PDT 2024
================
@@ -1351,6 +1351,12 @@ def TestOpInPlaceFold : TEST_Op<"op_in_place_fold"> {
let hasFolder = 1;
}
+def TestOpInPlaceSelfFold : TEST_Op<"op_in_place_self_fold"> {
+ let arguments = (ins OptionalAttr<BoolAttr>:$folded);
----------------
matthias-springer wrote:
How about turning this into a `UnitAttr`?
https://github.com/llvm/llvm-project/pull/88508
More information about the Mlir-commits
mailing list