This is an archive of the discontinued LLVM Phabricator instance.

Minor improvement of KMP_YIELD_NOW() macro.
ClosedPublic

Authored by hbae on Mar 15 2017, 3:51 PM.

Details

Summary

This change slightly improves performance of KMP_YIELD_NOW() macro, by using _rdtsc() intrinsic function if possible.

Diff Detail

Repository
rL LLVM

Event Timeline

hbae created this revision.Mar 15 2017, 3:51 PM
This revision is now accepted and ready to land.Mar 20 2017, 3:22 PM
This revision was automatically updated to reflect the committed changes.