diff options
author | Paul Osmialowski <pawel.osmialowski@arm.com> | 2016-05-16 09:44:11 +0000 |
---|---|---|
committer | Paul Osmialowski <pawel.osmialowski@arm.com> | 2016-05-16 09:44:11 +0000 |
commit | fb043fdfffee2a292f70f1031b4fe093503eb11f (patch) | |
tree | a6e7a8ae0a2f97154e3e9cc44560bc967a33e54e /llvm/lib/Target/Sparc | |
parent | a2bde88e62ac5ccffc1802f5b963189c0e4fab3c (diff) | |
download | bcm5719-llvm-fb043fdfffee2a292f70f1031b4fe093503eb11f.tar.gz bcm5719-llvm-fb043fdfffee2a292f70f1031b4fe093503eb11f.zip |
Clean all the mess around KMP_USE_FUTEX and kmp_lock.h
KMP_USE_FUTEX preprocessor definition defined in kmp_lock.h is used
inconsequently throughout LLVM libomp code.
* some .c files that use this define do not include kmp_lock.h file,
in effect guarded part of code are never compiled
* some places in code use architecture-depending preprocessor
logic expressions which effectively disable use of Futex for
AArch64 architecture, all these places should use
'#if KMP_USE_FUTEX' instead to avoid any further confusions
* some places use KMP_HAS_FUTEX which is nowhere defined,
KMP_USE_FUTEX should be used instead
Differential Revision: http://reviews.llvm.org/D19629
llvm-svn: 269642
Diffstat (limited to 'llvm/lib/Target/Sparc')
0 files changed, 0 insertions, 0 deletions