[llvm] [LLVM][OpenMP] Allow OpenMPOpt to handle non-OpenMP target regions (PR #67075)

Joseph Huber via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 21 19:30:17 PDT 2023


jhuber6 wrote:

> Given this pass is called OpenMPOpt, IMO we want to ignore CUDA kernels.

We won't run OpenMPOpt if there's no `openmp` in the module, so this only occurs during LTO linking of merged OpenMP and CUDA modules. Wouldn't this cause issues for regular functions? Are we assume a function shared between an OpenMP and CUDA kernel cannot be optimized?

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


More information about the llvm-commits mailing list