[flang-commits] [flang] [flang][OpenMP] Add TODOs for target [teams|parallel] private (PR #143706)
Sergio Afonso via flang-commits
flang-commits at lists.llvm.org
Mon Jun 16 03:24:30 PDT 2025
skatrak wrote:
> Nice solution. It is a shame to have to use global variables but I haven't got any better ideas and I guess it is okay if there is already a precedent.
Yeah, I didn't like having to add the `hostEvalInfo` global initially either. In `mlir::LLVM::ModuleTranslation` we have `StackFrame` and associated methods for these situations. I think we might want to replicate that feature in Flang lowering and remove the need for globals.
https://github.com/llvm/llvm-project/pull/143706
More information about the flang-commits
mailing list