[llvm] [openmp] [OpenMP] Fix target data region codegen being omitted for device pass (PR #85218)

Johannes Doerfert via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 19 09:50:09 PDT 2024


jdoerfert wrote:

> This patch enables the BodyCodeGen callback to still trigger for the TargetData nested region during the device pass. There maybe Target code nested within the TargetData region for which this is required.

Could you elaborate on this? What code associated with the target data is required on the device? That doesn't connect in my mind and I'm worried this hides a different problem.
The test doesn't help me understand what happened before either.

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


More information about the llvm-commits mailing list