[all-commits] [llvm/llvm-project] 640091: [OpenMP] AlwaysInline __kmpc_parallel_51 to improv...
Joseph Huber via All-commits
all-commits at lists.llvm.org
Tue Aug 10 11:41:59 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 640091884f81b377737bb73a3f076c7069666607
https://github.com/llvm/llvm-project/commit/640091884f81b377737bb73a3f076c7069666607
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2021-08-10 (Tue, 10 Aug 2021)
Changed paths:
M llvm/include/llvm/Frontend/OpenMP/OMPKinds.def
M llvm/test/Transforms/OpenMP/parallel_level_fold.ll
Log Message:
-----------
[OpenMP] AlwaysInline __kmpc_parallel_51 to improve inlining hueristics
This patch adds the `AlwaysInline` attribute to the `__kmpc_parallel_51`
device runtime call. This improves inlining heuristics which encourages
the indirect function pointer arguemnt to also be inlined. This greatly
improves performance for a few applications whose outlined regions were
not inlined otherwise.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D107839
More information about the All-commits
mailing list