[flang-commits] [flang] [Flang][OpenMP] Prevent allocas from being inserted into loop wrappers (PR #97563)

Sergio Afonso via flang-commits flang-commits at lists.llvm.org
Thu Jul 4 06:13:12 PDT 2024


skatrak wrote:

Thank you @tblah for the suggestion. Looking into reproducing the problem without this patch to create a test I realized this isn't needed at all, since any code reaching it would by default return the entry block of the parent function anyways. Seems to be a leftover of earlier troubleshooting I never realized until now that didn't actually solve any of the issues.

Closing this patch now, but there will be a similar one coming related to `omp.parallel`, though that issue will probably need some discussion in an RFC.

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


More information about the flang-commits mailing list