aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Support/Host.cpp
diff options
context:
space:
mode:
authorJohannes Doerfert <johannes@jdoerfert.de>2022-08-10 22:26:31 -0500
committerJohannes Doerfert <johannes@jdoerfert.de>2022-08-11 09:55:56 -0500
commita8cda3290944687b4fd0138e63cd980ea497a438 (patch)
tree182d18dac7104242e78bde030183c6aba48e577a /llvm/lib/Support/Host.cpp
parent6e19e6ce36e44554ac9fbf8b2780de05e922c849 (diff)
downloadllvm-a8cda3290944687b4fd0138e63cd980ea497a438.zip
llvm-a8cda3290944687b4fd0138e63cd980ea497a438.tar.gz
llvm-a8cda3290944687b4fd0138e63cd980ea497a438.tar.bz2
[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
Diffstat (limited to 'llvm/lib/Support/Host.cpp')
0 files changed, 0 insertions, 0 deletions