]> granicus.if.org Git - clang/commit
[OPENMP, NVPTX] Fix reduction of the big data types/structures.
authorAlexey Bataev <a.bataev@hotmail.com>
Fri, 22 Jun 2018 19:10:38 +0000 (19:10 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Fri, 22 Jun 2018 19:10:38 +0000 (19:10 +0000)
commitccd9acb5efb6e89c50caddc0b6f6ce4302ef5aa2
tree5e8e998c360a2fb2f88d13bb600e32a11ddb3a68
parent91b3d0660705711eb7ab95139d25b1f8fa9cb7be
[OPENMP, NVPTX] Fix reduction of the big data types/structures.

If the shuffle is required for the reduced structures/big data type,
current code may cause compiler crash because of the loading of the
aggregate values. Patch fixes this problem.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@335377 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
test/OpenMP/nvptx_target_parallel_reduction_codegen.cpp
test/OpenMP/nvptx_teams_reduction_codegen.cpp