Commit 6789dda7 authored by Vadim Paretsky's avatar Vadim Paretsky
Browse files

[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
parent 3db0e400
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment