llvm-project/openmp/libomptarget/DeviceRTL
Johannes Doerfert a8cda32909 [OpenMP][FIX] Ensure __kmpc_kernel_parallel is reachable
The problem is we create the call to __kmpc_kernel_parallel in the
openmp-opt pass but while we optimize the code, the call is not there
yet. Thus, we assume we never reach it from __kmpc_target_deinit. That
allows us to remove the store in there (`ParallelRegionFn = nullptr`),
which leads to bad results later on.

This is a shortstop solution until we come up with something better.

Fixes https://github.com/llvm/llvm-project/issues/57064
2022-08-11 09:55:56 -05:00
..
include [OpenMP][DeviceRTL] Implement libc function `memcmp` 2022-08-04 14:37:54 -04:00
src [OpenMP][FIX] Ensure __kmpc_kernel_parallel is reachable 2022-08-11 09:55:56 -05:00
CMakeLists.txt [OpenMP][DeviceRTL] Implement libc function `memcmp` 2022-08-04 14:37:54 -04:00