This is an archive of the discontinued LLVM Phabricator instance.

Fix performance issue from 376.kdtree
ClosedPublic

Authored by hbae on Sep 10 2018, 2:03 PM.

Details

Summary

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.

Diff Detail

Repository
rL LLVM

Event Timeline

hbae created this revision.Sep 10 2018, 2:03 PM
This revision is now accepted and ready to land.Sep 26 2018, 1:25 PM
This revision was automatically updated to reflect the committed changes.
This revision was automatically updated to reflect the committed changes.