aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/LTO/LTO.cpp
diff options
context:
space:
mode:
authorJoseph Huber <jhuber6@vols.utk.edu>2021-09-21 15:32:41 -0400
committerJoseph Huber <jhuber6@vols.utk.edu>2021-09-21 17:43:50 -0400
commite95731cca7ecf5be22ea67a273cb19ba2c14d54c (patch)
treeb726ad5e1206157a45e48c3f228f2360c94245b4 /llvm/lib/LTO/LTO.cpp
parente1ed02181ffcfea7de952d252a5e25953c822251 (diff)
downloadllvm-e95731cca7ecf5be22ea67a273cb19ba2c14d54c.zip
llvm-e95731cca7ecf5be22ea67a273cb19ba2c14d54c.tar.gz
llvm-e95731cca7ecf5be22ea67a273cb19ba2c14d54c.tar.bz2
[OpenMP] Add thread ID function into new RTL
The new device runtime library currently lacks the `kmpc_get_hardware_thread_id_in_block` function which is currently used when doing the SPMDzation optimization. This call would be introduced through the optimization and then cause a linking error because it was not present. This patch adds support for this runtime call. Reviewed By: tianshilei1992 Differential Revision: https://reviews.llvm.org/D110195
Diffstat (limited to 'llvm/lib/LTO/LTO.cpp')
0 files changed, 0 insertions, 0 deletions