Skip to content

Commit b1063d4

Browse files
committed
Add versioning and opaque pointer option
Signed-off-by: Lukas Sommer <[email protected]>
1 parent 49f93e1 commit b1063d4

File tree

5 files changed

+623
-17
lines changed

5 files changed

+623
-17
lines changed

polygeist/include/mlir/Conversion/PolygeistPasses.td

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,10 @@ def ConvertPolygeistToLLVM : Pass<"convert-polygeist-to-llvm", "mlir::ModuleOp">
2424
Option<"dataLayout", "data-layout", "std::string",
2525
/*default=*/"\"\"",
2626
"String description (LLVM format) of the data layout that is "
27-
"expected on the produced module">
27+
"expected on the produced module">,
28+
Option<"useOpaquePointers", "use-opaque-pointers", "bool",
29+
/*default=*/"false", "Generate LLVM IR using opaque pointers "
30+
"instead of typed pointers">,
2831
];
2932
}
3033

0 commit comments

Comments
 (0)