summaryrefslogtreecommitdiff
path: root/test/Other/X86
diff options
context:
space:
mode:
authorGalina Kistanova <gkistanova@gmail.com>2011-05-13 19:45:05 +0000
committerGalina Kistanova <gkistanova@gmail.com>2011-05-13 19:45:05 +0000
commit6f0b5e4a222f8f14c31472e284d45dab7f881257 (patch)
tree0be9b26258fa782a53ddda412f924138df839c0e /test/Other/X86
parent3fa82837441d716a225427f7a924f36d21db3a32 (diff)
downloadllvm-6f0b5e4a222f8f14c31472e284d45dab7f881257.tar.gz
llvm-6f0b5e4a222f8f14c31472e284d45dab7f881257.tar.bz2
llvm-6f0b5e4a222f8f14c31472e284d45dab7f881257.tar.xz
Move platform-dependent test to appropriate directory.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@131302 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Other/X86')
-rw-r--r--test/Other/X86/dg.exp5
-rw-r--r--test/Other/X86/inline-asm-newline-terminator.ll6
2 files changed, 11 insertions, 0 deletions
diff --git a/test/Other/X86/dg.exp b/test/Other/X86/dg.exp
new file mode 100644
index 0000000000..7b7bd4e738
--- /dev/null
+++ b/test/Other/X86/dg.exp
@@ -0,0 +1,5 @@
+load_lib llvm.exp
+
+if { [llvm_supports_target X86] } {
+ RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll}]]
+}
diff --git a/test/Other/X86/inline-asm-newline-terminator.ll b/test/Other/X86/inline-asm-newline-terminator.ll
new file mode 100644
index 0000000000..af93cc0dd2
--- /dev/null
+++ b/test/Other/X86/inline-asm-newline-terminator.ll
@@ -0,0 +1,6 @@
+; RUN: llc -filetype=obj -o - < %s
+
+; ModuleID = 't.c'
+target triple = "x86_64-apple-darwin10.0.0"
+
+module asm ".desc _f0, 0x10"