Testcase for llvm-gcc commit r132591.

Part of rdar://9037836 and rdar://9119939

llvm-svn: 132592
This commit is contained in:
Eric Christopher 2011-06-03 20:56:31 +00:00
parent 761a5d4280
commit 714af006a2
1 changed files with 11 additions and 0 deletions

View File

@ -0,0 +1,11 @@
// RUN: %llvmgcc -S -march=armv7a %s
// XFAIL: *
// XTARGET: arm
int t1() {
static float k = 1.0f;
CHECK: call void asm sideeffect "flds s15, $0 \0A", "*^Uv,~{s15}"
__asm__ volatile ("flds s15, %[k] \n" :: [k] "Uv,m" (k) : "s15");
return 0;
}