[OPENMP][NVPTX]Save registers for optimized builds with enabled logging.
authorAlexey Bataev <a.bataev@hotmail.com>
Fri, 7 Dec 2018 16:08:29 +0000 (16:08 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Fri, 7 Dec 2018 16:08:29 +0000 (16:08 +0000)
commit8acafff404f7b8f18d278ad4caadf86b0b37995d
tree8e6eb03a78f5b261a41ea3ce87f3cb995c577f2c
parentb87251d0bb9309113f234e020720d3505938e1b1
[OPENMP][NVPTX]Save registers for optimized builds with enabled logging.

Summary:
Introduced special noinline function log that allows to save some
registers for optimized builds but with enabled logging. Also, it
increases the stability of the optimized builds with inlined runtime.

Reviewers: gtbercea, kkwli0

Reviewed By: gtbercea

Subscribers: caomhin, guansong, openmp-commits

Differential Revision: https://reviews.llvm.org/D55436

llvm-svn: 348606
openmp/libomptarget/deviceRTLs/nvptx/src/debug.h