This is an archive of the discontinued LLVM Phabricator instance.

Simplify __kmp_expand_threads
ClosedPublic

Authored by tlwilmar on Jan 8 2018, 1:45 PM.

Details

Summary

This change simplifies kmp_expand_threads to take a single argument. Previously it allowed two arguments and had logic to decide on different potential expansion sizes. However, no calls to kmp_expand_threads in the runtime make use of this extra logic. Thus the extra argument and logic is removed here.

Diff Detail

Repository
rOMP OpenMP

Event Timeline

tlwilmar created this revision.Jan 8 2018, 1:45 PM
hbae accepted this revision.Jan 8 2018, 2:46 PM

LGTM.

This revision is now accepted and ready to land.Jan 8 2018, 2:46 PM
This revision was automatically updated to reflect the committed changes.