[Mlir-commits] [flang] [mlir] [Flang][mlir] - Translation of delayed privatization for deferred target-tasks (PR #155348)
Pranav Bhandarkar
llvmlistbot at llvm.org
Tue Oct 21 14:10:42 PDT 2025
================
@@ -0,0 +1,22 @@
+//===- OpenMPOffloadPrivatizationPrepare.h ----------------------*- C++ -*-===//
----------------
bhandarkar-pranav wrote:
It ends up being needed in flang. I could use `Passes.h` from here but that would end up adding unnecessary declarations in the compilation of `flang/lib/Optimizer/Passes/Pipelines.cpp` which is fine. However, I decided to stick with this simply because I found this to be the convention.
Presently, there is only one pass in `mlir/lib/Dialect/OpenMP/Transforms` so there really isn't any difference between `penMPOffloadPrivatizationPrepare.h` and `Passes.h`. So, I'll remove it now and if we add more passes to `OpenMP/Transforms` we can revisit this.
https://github.com/llvm/llvm-project/pull/155348
More information about the Mlir-commits
mailing list