mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-04 01:43:06 +00:00
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:
parent
e450a0046b
commit
372ab67ee8
5
test/FrontendC/ARM/dg.exp
Normal file
5
test/FrontendC/ARM/dg.exp
Normal 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}]]
|
||||
}
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user