]> granicus.if.org Git - clang/commit
[OPENMP] Fix compiler crash on argument translate for NVPTX.
authorAlexey Bataev <a.bataev@hotmail.com>
Tue, 15 Aug 2017 14:34:04 +0000 (14:34 +0000)
committerAlexey Bataev <a.bataev@hotmail.com>
Tue, 15 Aug 2017 14:34:04 +0000 (14:34 +0000)
commitbcc9bb722691c90459b10f7b8016fb84d62d3039
treef5cb7bbb6c5f7e7c3b58f85ae620b0e68f6b89a5
parent8872ad1bd2c704437c119a57aa7f3cdae795d654
[OPENMP] Fix compiler crash on argument translate for NVPTX.

When translating arguments for NVPTX target it is not taken into account
that function may have variable number of arguments. Patch fixes this
problem.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@310920 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
test/OpenMP/nvptx_param_translate.c [new file with mode: 0644]