Skip to content

Commit

Permalink
Merge pull request #396 from Xilinx/matthias.emitc_include_parent
Browse files Browse the repository at this point in the history
emitc.include: don't require the parent to be a ModuleOp
  • Loading branch information
mgehre-amd authored Nov 7, 2024
2 parents cab7e24 + 831eb66 commit 26a9787
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlir/include/mlir/Dialect/EmitC/IR/EmitC.td
Original file line number Diff line number Diff line change
Expand Up @@ -774,7 +774,7 @@ def EmitC_ReturnOp : EmitC_Op<"return", [Pure, HasParent<"FuncOp">,
}

def EmitC_IncludeOp
: EmitC_Op<"include", [HasParent<"ModuleOp">]> {
: EmitC_Op<"include", []> {
let summary = "Include operation";
let description = [{
The `emitc.include` operation allows to define a source file inclusion via the
Expand Down

0 comments on commit 26a9787

Please sign in to comment.