[Mlir-commits] [mlir] [MLIR][LLVMIR] Add module flags support (PR #130679)
Henrich Lauko
llvmlistbot at llvm.org
Tue Mar 11 01:18:46 PDT 2025
================
@@ -3711,6 +3711,21 @@ LogicalResult LinkerOptionsOp::verify() {
return success();
}
+//===----------------------------------------------------------------------===//
+// ModuleFlagsOp
+//===----------------------------------------------------------------------===//
+
+LogicalResult ModuleFlagsOp::verify() {
+ if (mlir::Operation *parentOp = (*this)->getParentOp();
----------------
xlauko wrote:
```suggestion
if (Operation *parentOp = (*this)->getParentOp();
```
https://github.com/llvm/llvm-project/pull/130679
More information about the Mlir-commits
mailing list