aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-readobj/llvm-readobj.cpp
diff options
context:
space:
mode:
authorJoel E. Denny <jdenny.ornl@gmail.com>2021-12-10 12:07:31 -0500
committerJoel E. Denny <jdenny.ornl@gmail.com>2021-12-10 12:53:54 -0500
commit51168ce8d574360a50446c5795b9f5a68c693fca (patch)
tree995f1dfdba0fd8cc4b0f48cab25793535048e196 /llvm/tools/llvm-readobj/llvm-readobj.cpp
parent80ed2f6b3659d7d9449517a0eb552f361ce80e15 (diff)
downloadllvm-51168ce8d574360a50446c5795b9f5a68c693fca.zip
llvm-51168ce8d574360a50446c5795b9f5a68c693fca.tar.gz
llvm-51168ce8d574360a50446c5795b9f5a68c693fca.tar.bz2
[OpenMP] Add test for custom state machine if have reduction
D113602 broke the custom state machine when a reduction is present, as revealed by the reproducer this patch adds to the test suite. In that case, openmp-opts changes the return value to undef in `__kmpc_get_warp_size` (which the custom state machine calls as of D113602). Later optimizations then optimize away the custom state machine code as if all threads are outside the thread block, so the target region does not execute. D114802 fixed that but didn't add a reproducer. This patch also adds a `__OMP_RTL_ATTRS` entry for `__kmpc_get_warp_size` to OMPKinds.def, which D113602 missed. This change does not seem to have any impact on the reduction problem. Reviewed By: JonChesterfield, jdoerfert Differential Revision: https://reviews.llvm.org/D113824
Diffstat (limited to 'llvm/tools/llvm-readobj/llvm-readobj.cpp')
0 files changed, 0 insertions, 0 deletions