diff options
author | Dale Johannesen <dalej@apple.com> | 2010-06-28 20:07:30 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2010-06-28 20:07:30 +0000 |
commit | 18afa5a4987afd5228eef7b3d30b9f95aec8419c (patch) | |
tree | 225ea9c970b891c6dfb89a6b98c631b2e9398be1 /test/FrontendC | |
parent | 61c35e835ee3ce2067d164c5e23618d79fe96e76 (diff) |
Testcase for llvm-gcc fix 107051.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107052 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/FrontendC')
-rw-r--r-- | test/FrontendC/2010-06-28-nowarn.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/test/FrontendC/2010-06-28-nowarn.c b/test/FrontendC/2010-06-28-nowarn.c new file mode 100644 index 0000000000..b0225c957f --- /dev/null +++ b/test/FrontendC/2010-06-28-nowarn.c @@ -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; + } +} |