aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/X86
diff options
context:
space:
mode:
authorNadav Rotem <nadav.rotem@intel.com>2011-10-16 21:20:54 +0000
committerNadav Rotem <nadav.rotem@intel.com>2011-10-16 21:20:54 +0000
commitf6481aee438adb0e0682a178cce09715617528a6 (patch)
treeb17bd53844229b1bde94aea01f039a5de91236b4 /test/CodeGen/X86
parenteeb58a7e6be5de3f792fc074b5efeb926d0d3e15 (diff)
Add tripple and stabalize a few more tests.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142158 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/CodeGen/X86')
-rw-r--r--test/CodeGen/X86/2009-06-07-ExpandMMXBitcast.ll2
-rw-r--r--test/CodeGen/X86/mmx-pinsrw.ll2
-rw-r--r--test/CodeGen/X86/vsplit-and.ll2
-rw-r--r--test/CodeGen/X86/widen_load-0.ll16
4 files changed, 11 insertions, 11 deletions
diff --git a/test/CodeGen/X86/2009-06-07-ExpandMMXBitcast.ll b/test/CodeGen/X86/2009-06-07-ExpandMMXBitcast.ll
index 07ef53e09d..025ab2e7c1 100644
--- a/test/CodeGen/X86/2009-06-07-ExpandMMXBitcast.ll
+++ b/test/CodeGen/X86/2009-06-07-ExpandMMXBitcast.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+mmx | grep movl | count 2
+; RUN: llc < %s -mtriple=x86_64-linux -mattr=+mmx | grep movd | count 3
define i64 @a(i32 %a, i32 %b) nounwind readnone {
entry:
diff --git a/test/CodeGen/X86/mmx-pinsrw.ll b/test/CodeGen/X86/mmx-pinsrw.ll
index cc31a119bd..91ab668a88 100644
--- a/test/CodeGen/X86/mmx-pinsrw.ll
+++ b/test/CodeGen/X86/mmx-pinsrw.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 -mattr=+mmx,+sse2 | grep pinsr
+; RUN: llc < %s -mtriple=x86_64-linux -mattr=+mmx,+sse2 | grep pinsr
; PR2562
external global i16 ; <i16*>:0 [#uses=1]
diff --git a/test/CodeGen/X86/vsplit-and.ll b/test/CodeGen/X86/vsplit-and.ll
index f9944ce2cb..2c586ab884 100644
--- a/test/CodeGen/X86/vsplit-and.ll
+++ b/test/CodeGen/X86/vsplit-and.ll
@@ -1,4 +1,4 @@
-; RUN: llc < %s -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-linux -march=x86 | FileCheck %s
define void @t(<2 x i64>* %dst, <2 x i64> %src1, <2 x i64> %src2) nounwind readonly {
diff --git a/test/CodeGen/X86/widen_load-0.ll b/test/CodeGen/X86/widen_load-0.ll
index 0d21b49ad7..7ee6de2ff5 100644
--- a/test/CodeGen/X86/widen_load-0.ll
+++ b/test/CodeGen/X86/widen_load-0.ll
@@ -4,15 +4,15 @@
; Both loads should happen before either store.
-; CHECK: movd (%rsi), {{.*}}
-; CHECK: movd (%rdi), {{.*}}
-; CHECK: movd {{.*}}, (%rdi)
-; CHECK: movd {{.*}}, (%rsi)
+; CHECK: movd ({{.*}}), {{.*}}
+; CHECK: movd ({{.*}}), {{.*}}
+; CHECK: movd {{.*}}, ({{.*}})
+; CHECK: movd {{.*}}, ({{.*}})
-; WIN64: movd (%rdx), {{.*}}
-; WIN64: movd (%rcx), {{.*}}
-; WIN64: movd {{.*}}, (%rcx)
-; WIN64: movd {{.*}}, (%rdx)
+; WIN64: movd ({{.*}}), {{.*}}
+; WIN64: movd ({{.*}}), {{.*}}
+; WIN64: movd {{.*}}, ({{.*}})
+; WIN64: movd {{.*}}, ({{.*}})
define void @short2_int_swap(<2 x i16>* nocapture %b, i32* nocapture %c) nounwind {
entry: