diff options
author | protze@itc.rwth-aachen.de <protze@itc.rwth-aachen.de> | 2020-02-04 12:16:03 +0100 |
---|---|---|
committer | protze@itc.rwth-aachen.de <protze@itc.rwth-aachen.de> | 2020-02-04 12:19:10 +0100 |
commit | 90e4ebdce55fd3c1f8877f19784a5339b9890f98 (patch) | |
tree | 1ab2ad839bfd41f96bb51305f19c8f5953b37f5f /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 6e01cd6795f83c09639604871cf52f5b124c1858 (diff) | |
download | llvm-90e4ebdce55fd3c1f8877f19784a5339b9890f98.zip llvm-90e4ebdce55fd3c1f8877f19784a5339b9890f98.tar.gz llvm-90e4ebdce55fd3c1f8877f19784a5339b9890f98.tar.bz2 |
[OpenMP][OMPT] fix reduction test for 32-bit x86
Fixes [[ https://bugs.llvm.org/show_bug.cgi?id=44733 | TEST 'libomp :: ompt/synchronization/reduction/tree_reduce.c' FAILED on 32-bit x86 ]]
For 32-bit we need at least 3 variables to avoid atomic reduction to be
choosen by runtime function `__kmp_determine_reduction_method`.
This patch adds reduction variables to the testcase.
Reviewers: mgorny, Hahnfeld
Differential Revision: https://reviews.llvm.org/D73850
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions