Added dg.exp to run FrontendC ARM-dependent tests; updated inline-asm-multichar.c test per this change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132785 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Galina Kistanova 2011-06-09 17:18:37 +00:00
parent e450a0046b
commit 372ab67ee8
2 changed files with 6 additions and 4 deletions

View File

@ -0,0 +1,5 @@
load_lib llvm.exp
if { [llvm_supports_target ARM] AND [ llvm_gcc_supports c ] } {
RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,c,cpp,s}]]
}

View File

@ -1,11 +1,8 @@
// 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}"
// CHECK: call void asm sideeffect "flds s15, $0 \0A", "*^Uv,~{s15}"
__asm__ volatile ("flds s15, %[k] \n" :: [k] "Uv,m" (k) : "s15");
return 0;
}