Revert "Re-enable passing MS inline asm test."
authorReid Kleckner <reid@kleckner.net>
Mon, 21 Oct 2013 22:56:09 +0000 (22:56 +0000)
committerReid Kleckner <reid@kleckner.net>
Mon, 21 Oct 2013 22:56:09 +0000 (22:56 +0000)
Microsoft inline asm crashes on the hexagon bot for unknown reasons.

This reverts commit r193124.

llvm-svn: 193128

clang/test/Parser/MicrosoftExtensions.c

index 2d9aa250bf8dfe474566ed20971941ca2a0d528e..de933f9e5d60051da04e91341f3c5722bc40491a 100644 (file)
@@ -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; }