HomePhabricator

[OpenMP] Fix performance issue from 376.kdtree

Authored by jlpeyton on Sep 26 2018, 1:24 PM.

Description

[OpenMP] Fix performance issue from 376.kdtree

This change improves the performance of 376.kdtree by giving the compiler an
opportunity to do inlining and other optimizations for the call path,
kmpc_omp_task_complete_if0()->kmp_task_finish(), which is one of the hot
paths in the program; some functions in kmp_taskdeps.cpp were moved to the new
header file, kmp_taskdeps.h to achieve this.

Patch by Hansang Bae

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

llvm-svn: 343138

Details

Committed
jlpeytonSep 26 2018, 1:24 PM
Differential Revision
D51889: Fix performance issue from 376.kdtree
Parents
rG60eec6fecb74: [OpenMP][OMPT] A few improvements
Branches
Unknown
Tags
Unknown