[all-commits] [llvm/llvm-project] e3e47e: [OpenMP] Make complex soft-float functions on the ...
Johannes Doerfert via All-commits
all-commits at lists.llvm.org
Wed Jul 8 23:09:25 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: e3e47e80355422df2e730cf97a0c80bb6de3915e
https://github.com/llvm/llvm-project/commit/e3e47e80355422df2e730cf97a0c80bb6de3915e
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2020-07-09 (Thu, 09 Jul 2020)
Changed paths:
M clang/lib/Headers/__clang_cuda_complex_builtins.h
M clang/test/Headers/nvptx_device_math_complex.c
M clang/test/Headers/nvptx_device_math_complex.cpp
Log Message:
-----------
[OpenMP] Make complex soft-float functions on the GPU weak definitions
To avoid linkage errors we have to ensure the linkage allows multiple
definitions of these compiler inserted functions. Since they are on the
cold path of complex computations, we want to avoid `inline`. Instead,
we opt for `weak` and `noinline` for now.
More information about the All-commits
mailing list