[all-commits] [llvm/llvm-project] 6789dd: [OpenMP] make small memory allocations in loop col...

vadikp-intel via All-commits all-commits at lists.llvm.org
Wed Aug 23 10:39:06 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6789dda7621804687a731142658eff9dfd485fa7
      https://github.com/llvm/llvm-project/commit/6789dda7621804687a731142658eff9dfd485fa7
  Author: Vadim Paretsky <b-vadipa at microsoft.com>
  Date:   2023-08-23 (Wed, 23 Aug 2023)

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

  Log Message:
  -----------
  [OpenMP] make small memory allocations in loop collapse code on the stack

A few places in the loop collapse support code make small dynamic allocations
that introduce a noticeable performance overhead when made on the heap.
This change moves allocations up to 32 bytes to the stack instead of the heap.

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




More information about the All-commits mailing list