diff --git a/test/FrontendC/ARM/dg.exp b/test/FrontendC/ARM/dg.exp new file mode 100644 index 00000000000..13048a1fdbe --- /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 7e2eeef8382..fe677b77646 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; }