forked from llvm-mirror/llvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
1 parent
e450a00
commit 372ab67
Showing
2 changed files
with
6 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}]] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} |