[OpenMP] Fix new task creation
authorGheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com>
Mon, 30 Jul 2018 19:51:51 +0000 (19:51 +0000)
committerGheorghe-Teodor Bercea <gheorghe-teod.bercea@ibm.com>
Mon, 30 Jul 2018 19:51:51 +0000 (19:51 +0000)
commitf729df821a96de320e913a7a931d8357d5219206
treefbe29444df64aad7c708048c13c3c3d4bb849000
parente9ddc44a604318739a27249d267aa7267d13d93b
[OpenMP] Fix new task creation

Summary:
When OMPT is not supported the __kmp_omp_task() function is passed the parameters in the wrong order. This is a fix related to patch D47709.

Reviewers: Hahnfeld, sconvent, caomhin, jlpeyton

Reviewed By: Hahnfeld

Subscribers: guansong, openmp-commits

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

llvm-svn: 338295
openmp/runtime/src/kmp_tasking.cpp