aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorJoseph Huber <jhuber6@vols.utk.edu>2022-07-27 11:04:25 -0400
committerJoseph Huber <jhuber6@vols.utk.edu>2022-07-27 11:09:18 -0400
commitb08369f7f288b6efb0897953da42ed54e60cfc0b (patch)
treeb2940eb46bee866b9f4b0d4e2b7b7f60e5c5ecdb /flang/lib/Frontend/CompilerInvocation.cpp
parenta8fdc247e90da110c2f71c5c0075e537af2b0111 (diff)
downloadllvm-b08369f7f288b6efb0897953da42ed54e60cfc0b.zip
llvm-b08369f7f288b6efb0897953da42ed54e60cfc0b.tar.gz
llvm-b08369f7f288b6efb0897953da42ed54e60cfc0b.tar.bz2
Revert "[OpenMP] Remove noinline attributes in the device runtime"
The behaviour of this patch is not great, but it has some side-effects that are required for OpenMPOpt to work. The problem is that when we use `-mlink-builtin-bitcode` we only import used symbols from the runtime. Then OpenMPOpt will insert calls to symbols that were not previously included. This patch removed this implicit behaviour as these functions were kept alive by the `noinline` simply because it kept calls to them in the module. This caused regression in some tests that relied on some OpenMPOpt passes without using LTO. Reverting for the LLVM15 release but will try to fix it more correctly on main. This reverts commit d61d72dae604c3258e25c00622b1a85861450303. Fixes #56752
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions