summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/vsplit-and.ll
diff options
context:
space:
mode:
authorNadav Rotem <nadav.rotem@intel.com>2011-10-17 07:07:51 +0000
committerNadav Rotem <nadav.rotem@intel.com>2011-10-17 07:07:51 +0000
commit83d1a93cf411a1053ed826c17871f2bbefc748bd (patch)
tree648c5d58bc710f9f2c10a63cee04091b1611db17 /llvm/test/CodeGen/X86/vsplit-and.ll
parent89c282e96f1872f6bcd68c40b6c42a4f64611255 (diff)
downloadbcm5719-llvm-83d1a93cf411a1053ed826c17871f2bbefc748bd.tar.gz
bcm5719-llvm-83d1a93cf411a1053ed826c17871f2bbefc748bd.zip
Clean the triple, add check lines.
llvm-svn: 142183
Diffstat (limited to 'llvm/test/CodeGen/X86/vsplit-and.ll')
-rw-r--r--llvm/test/CodeGen/X86/vsplit-and.ll13
1 files changed, 8 insertions, 5 deletions
diff --git a/llvm/test/CodeGen/X86/vsplit-and.ll b/llvm/test/CodeGen/X86/vsplit-and.ll
index 2c586ab8847..ee98806c0f8 100644
--- a/llvm/test/CodeGen/X86/vsplit-and.ll
+++ b/llvm/test/CodeGen/X86/vsplit-and.ll
@@ -1,8 +1,9 @@
-; RUN: llc < %s -mtriple=x86_64-linux -march=x86 | FileCheck %s
+; RUN: llc < %s -mtriple=x86_64-linux | FileCheck %s
-
-define void @t(<2 x i64>* %dst, <2 x i64> %src1, <2 x i64> %src2) nounwind readonly {
-; CHECK: pandn
+define void @t0(<2 x i64>* %dst, <2 x i64> %src1, <2 x i64> %src2) nounwind readonly {
+; CHECK: t0
+; CHECK: pand
+; CHECK: ret
%cmp1 = icmp ne <2 x i64> %src1, zeroinitializer
%cmp2 = icmp ne <2 x i64> %src2, zeroinitializer
%t1 = and <2 x i1> %cmp1, %cmp2
@@ -12,7 +13,9 @@ define void @t(<2 x i64>* %dst, <2 x i64> %src1, <2 x i64> %src2) nounwind reado
}
define void @t2(<3 x i64>* %dst, <3 x i64> %src1, <3 x i64> %src2) nounwind readonly {
-; CHECK-NOT: pandn
+; CHECK: t2
+; CHECK-NOT: pand
+; CHECK: ret
%cmp1 = icmp ne <3 x i64> %src1, zeroinitializer
%cmp2 = icmp ne <3 x i64> %src2, zeroinitializer
%t1 = and <3 x i1> %cmp1, %cmp2
OpenPOWER on IntegriCloud