[OpenMP] Make linker wrapper thin-lto default thread count use all
authorJoseph Huber <jhuber6@vols.utk.edu>
Fri, 1 Apr 2022 13:42:21 +0000 (09:42 -0400)
committerJoseph Huber <jhuber6@vols.utk.edu>
Fri, 1 Apr 2022 13:44:28 +0000 (09:44 -0400)
commit69a77771a9f5e577083338c3cebd61bbeb417843
treedb6376abc7995c074a89bbefc52316cc4d7f78c8
parent73c0333deefc4e1d5981a4b76cc9df79a2877727
[OpenMP] Make linker wrapper thin-lto default thread count use all

Summary:
Currently there is no option to configure the number of thin-backend
threads to use when performing thin-lto on the device, but we should
default to use all the threads rather than just one. In the future we
should use the same arguments that gold / lld use and parse it here.
clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp