[OpenMP] Ensure to remove noinline from all runtime functions eventually
authorJohannes Doerfert <johannes@jdoerfert.de>
Fri, 21 Jan 2022 21:47:56 +0000 (15:47 -0600)
committerJohannes Doerfert <johannes@jdoerfert.de>
Tue, 1 Feb 2022 07:07:50 +0000 (01:07 -0600)
commit989674f110548866f149b964288d8a84f0d60f40
tree899b5a1de4d4a59abec046c01b88e78d2cb8c8c6
parentc25ba3c79020246b24aa658ac02770be07eee0f5
[OpenMP] Ensure to remove noinline from all runtime functions eventually

We used to remove noinline from known OpenMP runtime functions (which
are declared in OMPKinds.td). Now we remove noinline from all functions
with the proper prefixes: __kmpc, _ZN4_OMP (= namespace omp), omp_
llvm/lib/Transforms/IPO/OpenMPOpt.cpp
llvm/test/Transforms/OpenMP/remove_noinline_attributes.ll [new file with mode: 0644]