[all-commits] [llvm/llvm-project] 03cc8a: [OpenMP][NFC] Move the `noinline` to the parallel ...
Johannes Doerfert via All-commits
all-commits at lists.llvm.org
Mon Mar 29 23:13:07 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 03cc8a1ba050f3138c30e7771e29a32fab22e957
https://github.com/llvm/llvm-project/commit/03cc8a1ba050f3138c30e7771e29a32fab22e957
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2021-03-30 (Tue, 30 Mar 2021)
Changed paths:
M clang/lib/CodeGen/CGOpenMPRuntimeGPU.cpp
M clang/test/OpenMP/nvptx_parallel_codegen.cpp
Log Message:
-----------
[OpenMP][NFC] Move the `noinline` to the parallel entry point
The `noinline` for non-SPMD parallel functions is probably not necessary
but as long as we use it we should put it on the outermost parallel
function, which is the wrapper, not the actual outlined function.
Resolves PR49752
Reviewed By: JonChesterfield
Differential Revision: https://reviews.llvm.org/D99506
More information about the All-commits
mailing list