Fix this test to actually check something and be able to be compiled.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133952 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Eric Christopher 2011-06-27 22:30:14 +00:00
parent f227b50a8e
commit 81ce26a410

View File

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