Skip to content

Commit

Permalink
Added dg.exp to run FrontendC ARM-dependent tests; updated inline-asm…
Browse files Browse the repository at this point in the history
…-multichar.c test per this change.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@132785 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
gkistanova committed Jun 9, 2011
1 parent e450a00 commit 372ab67
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 5 additions & 0 deletions test/FrontendC/ARM/dg.exp
Original file line number Diff line number Diff line change
@@ -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}]]
}
5 changes: 1 addition & 4 deletions test/FrontendC/ARM/inline-asm-multichar.c
Original file line number Diff line number Diff line change
@@ -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;
}

0 comments on commit 372ab67

Please sign in to comment.