[PATCH] D47672: [Headers] Add _Interlocked*_HLEAcquire/_HLERelease

Craig Topper via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 6 12:56:43 PDT 2018


craig.topper added inline comments.


================
Comment at: lib/Headers/immintrin.h:387
+#if defined(__i386__) || defined(__x86_64__)
+static __inline__ long __DEFAULT_FN_ATTRS
+_InterlockedExchange_HLEAcquire(long volatile *_Target, long _Value) {
----------------
what is __DEFAULT_FN_ATTRS defined to here? Its not defined in this file and should have been undeffed before leaving any other file. If its still defined here, it's a bug.


Repository:
  rC Clang

https://reviews.llvm.org/D47672





More information about the cfe-commits mailing list