[llvm-commits] [llvm] r107052 - /llvm/trunk/test/FrontendC/2010-06-28-nowarn.c
Dale Johannesen
dalej at apple.com
Mon Jun 28 13:07:30 PDT 2010
Author: johannes
Date: Mon Jun 28 15:07:30 2010
New Revision: 107052
URL: http://llvm.org/viewvc/llvm-project?rev=107052&view=rev
Log:
Testcase for llvm-gcc fix 107051.
Added:
llvm/trunk/test/FrontendC/2010-06-28-nowarn.c
Added: llvm/trunk/test/FrontendC/2010-06-28-nowarn.c
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/FrontendC/2010-06-28-nowarn.c?rev=107052&view=auto
==============================================================================
--- llvm/trunk/test/FrontendC/2010-06-28-nowarn.c (added)
+++ llvm/trunk/test/FrontendC/2010-06-28-nowarn.c Mon Jun 28 15:07:30 2010
@@ -0,0 +1,21 @@
+// RUN: %llvmgcc %s -c -m32 -fasm-blocks -o /dev/null
+// This should not warn about unreferenced label. 7729514.
+// XFAIL: *
+// XTARGET: i386,i686,x86,darwin
+
+void quarterAsm(int array[], int len)
+{
+ __asm
+ {
+ mov esi, array;
+ mov ecx, len;
+ shr ecx, 2;
+loop:
+ movdqa xmm0, [esi];
+ psrad xmm0, 2;
+ movdqa [esi], xmm0;
+ add esi, 16;
+ sub ecx, 1;
+ jnz loop;
+ }
+}
More information about the llvm-commits
mailing list