diff options
author | Galina Kistanova <gkistanova@gmail.com> | 2011-06-09 17:18:37 +0000 |
---|---|---|
committer | Galina Kistanova <gkistanova@gmail.com> | 2011-06-09 17:18:37 +0000 |
commit | 372ab67ee8a279cbe11bc7ac1e60e565b3f5727d (patch) | |
tree | e9c0971ebc2dad80c6999d13a044e7cd26aa2a6f | |
parent | e450a0046ba678312b17688c225d4af2ab50a341 (diff) | |
download | external_llvm-372ab67ee8a279cbe11bc7ac1e60e565b3f5727d.zip external_llvm-372ab67ee8a279cbe11bc7ac1e60e565b3f5727d.tar.gz external_llvm-372ab67ee8a279cbe11bc7ac1e60e565b3f5727d.tar.bz2 |
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
-rw-r--r-- | test/FrontendC/ARM/dg.exp | 5 | ||||
-rw-r--r-- | test/FrontendC/ARM/inline-asm-multichar.c | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/test/FrontendC/ARM/dg.exp b/test/FrontendC/ARM/dg.exp new file mode 100644 index 0000000..13048a1 --- /dev/null +++ b/test/FrontendC/ARM/dg.exp @@ -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}]] +} diff --git a/test/FrontendC/ARM/inline-asm-multichar.c b/test/FrontendC/ARM/inline-asm-multichar.c index 7e2eeef..fe677b7 100644 --- a/test/FrontendC/ARM/inline-asm-multichar.c +++ b/test/FrontendC/ARM/inline-asm-multichar.c @@ -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; } |