diff options
author | Joseph Huber <jhuber6@vols.utk.edu> | 2022-04-22 13:19:16 -0400 |
---|---|---|
committer | Joseph Huber <jhuber6@vols.utk.edu> | 2022-04-23 12:42:40 -0400 |
commit | 3530c35c660919b9367f1ac598abfb9a569e7606 (patch) | |
tree | 2cc041e1318d49578dc9a63a318f21960762ad95 /clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp | |
parent | 7a98d8351b27b1e20ca606d9b2d0fd155dd169ff (diff) | |
download | llvm-3530c35c660919b9367f1ac598abfb9a569e7606.zip llvm-3530c35c660919b9367f1ac598abfb9a569e7606.tar.gz llvm-3530c35c660919b9367f1ac598abfb9a569e7606.tar.bz2 |
[OpenMP] Use CUDA's non-RDC mode when LTO has whole program visibility
When we do LTO we consider ourselves to have whole program visibility if
every single input file we have contains LLVM bitcode. If we have whole
program visibliity then we can create a single image and utilize CUDA's
non-RDC mode by not passing `-c` to `ptxas` and ignoring the `nvlink`
job. This should be faster for some situations and also saves us the
time executing `nvlink`.
Reviewed By: tra
Differential Revision: https://reviews.llvm.org/D124292
Diffstat (limited to 'clang/lib/StaticAnalyzer/Checkers/CheckSecuritySyntaxOnly.cpp')
0 files changed, 0 insertions, 0 deletions