[flang-commits] [flang] [Flang][OpenMP] Access full list of entry block syms and vars (NFC) (PR #113681)
Sergio Afonso via flang-commits
flang-commits at lists.llvm.org
Wed Oct 30 04:34:32 PDT 2024
skatrak wrote:
> Maybe sometime we could go a step further and provide a standard implementation of the `genRegionEntryCB`?
I agree, that would be nice to have. At this point, the only operation for which `genOpWithBody` is called with a callback that is different is `omp.loop_nest`. We may be able to provide a more elaborate default for the others, based on a pointer to the `EntryBlockArgs` structure added to the `OpWithBodyGenInfo` structure. I'll give that idea a try hopefully soon.
https://github.com/llvm/llvm-project/pull/113681
More information about the flang-commits
mailing list