[all-commits] [llvm/llvm-project] 6be7c2: [OpenMP][libomp] Replace accidental VLA with KMP_A...

Jonathan Peyton via All-commits all-commits at lists.llvm.org
Wed Feb 9 06:10:23 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6be7c21b57e4a45b012209974ab9038b679134f5
      https://github.com/llvm/llvm-project/commit/6be7c21b57e4a45b012209974ab9038b679134f5
  Author: Jonathan Peyton <jonathan.l.peyton at intel.com>
  Date:   2022-02-09 (Wed, 09 Feb 2022)

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

  Log Message:
  -----------
  [OpenMP][libomp] Replace accidental VLA with KMP_ALLOCA

MSVC does not support variable length arrays. Replace with KMP_ALLOCA
which is already used in the same file for stack-allocated variables.




More information about the All-commits mailing list