diff options
| author | Jonas Hahnfeld <hahnjo@hahnjo.de> | 2018-09-30 09:23:14 +0000 |
|---|---|---|
| committer | Jonas Hahnfeld <hahnjo@hahnjo.de> | 2018-09-30 09:23:14 +0000 |
| commit | 067235f227f541816af8aa777bdf1b214c22c77b (patch) | |
| tree | 5717e386498b1de893360e84c905d21a4d4cdd53 /llvm/lib/CodeGen/MachineInstr.cpp | |
| parent | 9be3b6a18b2926692d3a734d74174bda9419bd7a (diff) | |
| download | llvm-067235f227f541816af8aa777bdf1b214c22c77b.zip llvm-067235f227f541816af8aa777bdf1b214c22c77b.tar.gz llvm-067235f227f541816af8aa777bdf1b214c22c77b.tar.bz2 | |
[libomptarget-nvptx] Fix ancestor_thread_num and team_size (non-SPMD)
According to OpenMP 4.5, p250:12-14:
If the requested nest level is outside the range of 0 and the
nest level of the current thread, as returned by the omp_get_level
routine, the routine returns -1.
The SPMD code path will need a similar fix.
Differential Revision: https://reviews.llvm.org/D51787
llvm-svn: 343401
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions
