[Mlir-commits] [mlir] [mlir][irdl] Add IsolatedFromAbove trait to irdl.operation op (PR #181108)
lonely eagle
llvmlistbot at llvm.org
Thu Feb 12 01:08:20 PST 2026
https://github.com/linuxlonelyeagle created https://github.com/llvm/llvm-project/pull/181108
https://github.com/llvm/llvm-project/pull/180556 depend it.
>From 15eff0bb48d183da9eb12ad66670ca2974111927 Mon Sep 17 00:00:00 2001
From: linuxlonelyeagle <2020382038 at qq.com>
Date: Thu, 12 Feb 2026 09:06:29 +0000
Subject: [PATCH] add IsolatedFromAbove trait to irdl.operation.
---
mlir/include/mlir/Dialect/IRDL/IR/IRDLOps.td | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/mlir/include/mlir/Dialect/IRDL/IR/IRDLOps.td b/mlir/include/mlir/Dialect/IRDL/IR/IRDLOps.td
index 3b6b09973645c..de5d0d18e52bc 100644
--- a/mlir/include/mlir/Dialect/IRDL/IR/IRDLOps.td
+++ b/mlir/include/mlir/Dialect/IRDL/IR/IRDLOps.td
@@ -169,7 +169,7 @@ def IRDL_ParametersOp : IRDL_Op<"parameters",
def IRDL_OperationOp : IRDL_Op<"operation",
[HasParent<"DialectOp">, NoTerminator, NoRegionArguments,
AtMostOneChildOf<"OperandsOp, ResultsOp, AttributesOp, RegionsOp">,
- Symbol]> {
+ Symbol, IsolatedFromAbove]> {
let summary = "Define a new operation";
let description = [{
`irdl.operation` defines a new operation belonging to the `irdl.dialect`
More information about the Mlir-commits
mailing list