diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2023-01-24 11:45:17 -0600 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2023-01-24 17:01:37 -0600 |
commit | 5d1dc9fa043f8ee239cbc16347025a4f0831e132 (patch) | |
tree | 248510b8c6846f61cd75a56769130cd050063fe8 /clang/lib/CodeGen/CodeGenFunction.cpp | |
parent | dc60f7aa0435a4e4778cfbf22f4fcb52c97427c0 (diff) | |
download | llvm-5d1dc9fa043f8ee239cbc16347025a4f0831e132.zip llvm-5d1dc9fa043f8ee239cbc16347025a4f0831e132.tar.gz llvm-5d1dc9fa043f8ee239cbc16347025a4f0831e132.tar.bz2 |
[OpenMP] Do not link the bitcode OpenMP runtime when targeting AMDGPU.
The AMDGPU target can only emit LLVM-IR, so we can always rely on LTO to
link the static version of the runtime optimally. Using the static
library only has a few advantages. Namely, it avoids several known bugs
and allows us to optimize out more functions. This is legal since the
changes in D142486 and D142484
Depends on D142486 D142484
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D142491
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp')
0 files changed, 0 insertions, 0 deletions