[Mlir-commits] [mlir] [mlir][irdl] Add IsolatedFromAbove trait to irdl.operation op (PR #181108)
llvmlistbot at llvm.org
llvmlistbot at llvm.org
Thu Feb 12 01:08:56 PST 2026
llvmbot wrote:
<!--LLVM PR SUMMARY COMMENT-->
@llvm/pr-subscribers-mlir-irdl
Author: lonely eagle (linuxlonelyeagle)
<details>
<summary>Changes</summary>
https://github.com/llvm/llvm-project/pull/180556 depend it.
---
Full diff: https://github.com/llvm/llvm-project/pull/181108.diff
1 Files Affected:
- (modified) mlir/include/mlir/Dialect/IRDL/IR/IRDLOps.td (+1-1)
``````````diff
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`
``````````
</details>
https://github.com/llvm/llvm-project/pull/181108
More information about the Mlir-commits
mailing list