Testcase for llvm-gcc commit r132591.

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


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132592 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher 2011-06-03 20:56:31 +00:00
parent ce1ecf59c8
commit ce8671c612

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;
}