[all-commits] [llvm/llvm-project] 780f55: [OPENMP]Improve use of the global tid parameter.

Alexey Bataev via All-commits all-commits at lists.llvm.org
Thu Oct 17 10:10:54 PDT 2019


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 780f555155f1dc261e98a5a68815955cbfde2353
      https://github.com/llvm/llvm-project/commit/780f555155f1dc261e98a5a68815955cbfde2353
  Author: Alexey Bataev <a.bataev at hotmail.com>
  Date:   2019-10-17 (Thu, 17 Oct 2019)

  Changed paths:
    M clang/lib/CodeGen/CGOpenMPRuntime.cpp
    M clang/test/OpenMP/openmp_win_codegen.cpp
    M clang/test/OpenMP/parallel_for_codegen.cpp

  Log Message:
  -----------
  [OPENMP]Improve use of the global tid parameter.

If we can determined, that the global tid parameter can be used in the
function, better to use it rather than calling __kmpc_global_thread_num
function.

llvm-svn: 375134




More information about the All-commits mailing list