1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-01 08:23:21 +01:00
llvm-mirror/test/FrontendC/2010-06-28-nowarn.c
Duncan Sands 020f241883 Remove explicit uses of -emit-llvm, the test infrastructure adds it
automatically.  Use -S with llvm-gcc rather than -c, so tests can
work when llvm-gcc is really dragonegg (which can output IR with -S
but not -c).

llvm-svn: 120158
2010-11-25 21:24:35 +00:00

22 lines
384 B
C

// RUN: %llvmgcc %s -S -m32 -fasm-blocks -o /dev/null
// This should not warn about unreferenced label. 7729514.
// XFAIL: *
// XTARGET: x86,i386,i686
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;
}
}