r193128 - Revert "Re-enable passing MS inline asm test."

Reid Kleckner reid at kleckner.net
Mon Oct 21 15:56:09 PDT 2013


Author: rnk
Date: Mon Oct 21 17:56:09 2013
New Revision: 193128

URL: http://llvm.org/viewvc/llvm-project?rev=193128&view=rev
Log:
Revert "Re-enable passing MS inline asm test."

Microsoft inline asm crashes on the hexagon bot for unknown reasons.

This reverts commit r193124.

Modified:
    cfe/trunk/test/Parser/MicrosoftExtensions.c

Modified: cfe/trunk/test/Parser/MicrosoftExtensions.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Parser/MicrosoftExtensions.c?rev=193128&r1=193127&r2=193128&view=diff
==============================================================================
--- cfe/trunk/test/Parser/MicrosoftExtensions.c (original)
+++ cfe/trunk/test/Parser/MicrosoftExtensions.c Mon Oct 21 17:56:09 2013
@@ -20,12 +20,15 @@ void * __ptr32 PtrToPtr32(const void *p)
 
 void __forceinline InterlockedBitTestAndSet (long *Base, long Bit)
 {
+  // FIXME: Re-enable this once MS inline asm stabilizes.
+#if 0
   __asm {
     mov eax, Bit
     mov ecx, Base
     lock bts [ecx], eax
     setc al
   };
+#endif
 }
 _inline int foo99() { return 99; }
 





More information about the cfe-commits mailing list