[all-commits] [llvm/llvm-project] f58fe2: [OpenMP] allow loc to be NULL in __kmp_determine_r...

vadikp-intel via All-commits all-commits at lists.llvm.org
Fri Jun 3 12:13:05 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f58fe2e1865d631b228d0bc78ebd4d95f752c51b
      https://github.com/llvm/llvm-project/commit/f58fe2e1865d631b228d0bc78ebd4d95f752c51b
  Author: Vadim Paretsky <vadim.paretsky at intel.com>
  Date:   2022-06-03 (Fri, 03 Jun 2022)

  Changed paths:
    M openmp/runtime/src/kmp_runtime.cpp

  Log Message:
  -----------
  [OpenMP] allow loc to be NULL in __kmp_determine_reduction_method for MSVC

MSVC may not supply source location information to kmpc_reduce passing
NULL for the value. The patch adds a check for the loc value being NULL
in kmp_determine_reduction_method.

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




More information about the All-commits mailing list