[flang-commits] [flang] [flang][OpenMP][MLIR] Basic support for delayed privatization code-gen (PR #81833)

Kareem Ergawy via flang-commits flang-commits at lists.llvm.org
Thu Feb 22 21:16:59 PST 2024


================
@@ -24,6 +24,12 @@ llvm::cl::opt<bool> treatIndexAsSection(
     llvm::cl::desc("In the OpenMP data clauses treat `a(N)` as `a(N:N)`."),
     llvm::cl::init(true));
 
+llvm::cl::opt<bool> enableDelayedPrivatization(
+    "openmp-enable-delayed-privatization",
+    llvm::cl::desc(
+        "Emit `[first]private` variables as clauses on the MLIR ops."),
+    llvm::cl::init(false));
----------------
ergawy wrote:

Yes, it is temporary until we get delayed privatization working end-to-end. Since delayed privatization is quite disruptive, it has to be introduced carefully and be tested extensively enough first.

https://github.com/llvm/llvm-project/pull/81833


More information about the flang-commits mailing list