Skip to content
Commit 7b3eabdc authored by Alexey Bataev's avatar Alexey Bataev
Browse files

[OPENMP][NVPTX]Fix PR40893: Size doesn't match for

'_openmp_teams_reductions_buffer_$_.

nvlink does not handle weak linkage correctly, same symbols with the
different sizes are reported as erroneous though the largest size must
be chosen instead. Patch fixes this problem by using Internal linkage
instead of the Common.

llvm-svn: 356072
parent 510f26dc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment