[flang-commits] [mlir] [flang] [WIP] Delayed privatization. (PR #79862)
Leandro Lupori via flang-commits
flang-commits at lists.llvm.org
Thu Feb 1 11:40:44 PST 2024
================
@@ -1478,6 +1485,38 @@ def Target_UpdateDataOp: OpenMP_Op<"target_update_data",
//===----------------------------------------------------------------------===//
// 2.14.5 target construct
//===----------------------------------------------------------------------===//
+def PrivateClauseOp : OpenMP_Op<"private", [
+ IsolatedFromAbove, FunctionOpInterface
+ ]> {
+ let summary = "TODO";
+ let description = [{}];
+
+ let arguments = (ins SymbolNameAttr:$sym_name,
+ TypeAttrOf<FunctionType>:$function_type);
+
+ let regions = (region AnyRegion:$body);
+
+ let builders = [OpBuilder<(ins
+ "::mlir::Type":$privateVar,
----------------
luporl wrote:
Shouldn't it be `$privateVarType` here?
https://github.com/llvm/llvm-project/pull/79862
More information about the flang-commits
mailing list