[all-commits] [llvm/llvm-project] af0001: [OpenMP] Always inline the OpenMP outlined function
Joseph Huber via All-commits
all-commits at lists.llvm.org
Mon Jul 26 14:28:18 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: af000197c4214926bd7d0862d86f89aed5f20da6
https://github.com/llvm/llvm-project/commit/af000197c4214926bd7d0862d86f89aed5f20da6
Author: Joseph Huber <jhuber6 at vols.utk.edu>
Date: 2021-07-26 (Mon, 26 Jul 2021)
Changed paths:
M clang/lib/CodeGen/CGStmtOpenMP.cpp
M clang/test/OpenMP/nvptx_target_parallel_reduction_codegen_tbaa_PR46146.cpp
Log Message:
-----------
[OpenMP] Always inline the OpenMP outlined function
This patch adds the always inline attribute to the outlined functions generated
by OpenMP regions. Because there is only a single instance of this function and
it always has internal linkage it is safe to inline in every instance it is
created. This could potentially lead to performance degredation due to
inflated register counts in the parallel region.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D106799
More information about the All-commits
mailing list