[OpenMP] Embed bitcode after optimizations instead of linking
authorJoseph Huber <jhuber6@vols.utk.edu>
Sun, 16 Jan 2022 04:10:52 +0000 (23:10 -0500)
committerJoseph Huber <jhuber6@vols.utk.edu>
Tue, 1 Feb 2022 04:11:42 +0000 (23:11 -0500)
commita47b1cf306fb7494d493784c25dafb2dd6084b99
treecd19ffc3c432c689c52ca84fb6d0fedb18f6d1fa
parent46d019041cd924d8bdf69c818bbe13f6cd37f466
[OpenMP] Embed bitcode after optimizations instead of linking

Summary:
Various changes to the linker wrapper, and the bitcode embedding is not
done after the optimizations have run rather than after linking is done.
This saves time when doing JIT.
clang/tools/clang-linker-wrapper/ClangLinkerWrapper.cpp