[llvm-commits] [llvm] r102216 - in /llvm/trunk/test/CodeGen/X86: 2010-04-23-mmx-movdq2q.ll mmx-movdq2q1.ll mmx-movdq2q2.ll mmx-movdq2q3.ll mmx-movdq2q4.ll
Stuart Hastings
stuart at apple.com
Fri Apr 23 15:12:57 PDT 2010
Author: stuart
Date: Fri Apr 23 17:12:57 2010
New Revision: 102216
URL: http://llvm.org/viewvc/llvm-project?rev=102216&view=rev
Log:
Per Chris, fuse four trivial tests using grep (r102199) into one that uses FileCheck.
Added:
llvm/trunk/test/CodeGen/X86/2010-04-23-mmx-movdq2q.ll
Removed:
llvm/trunk/test/CodeGen/X86/mmx-movdq2q1.ll
llvm/trunk/test/CodeGen/X86/mmx-movdq2q2.ll
llvm/trunk/test/CodeGen/X86/mmx-movdq2q3.ll
llvm/trunk/test/CodeGen/X86/mmx-movdq2q4.ll
Added: llvm/trunk/test/CodeGen/X86/2010-04-23-mmx-movdq2q.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/2010-04-23-mmx-movdq2q.ll?rev=102216&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/X86/2010-04-23-mmx-movdq2q.ll (added)
+++ llvm/trunk/test/CodeGen/X86/2010-04-23-mmx-movdq2q.ll Fri Apr 23 17:12:57 2010
@@ -0,0 +1,45 @@
+; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=+mmx,+sse2 | FileCheck %s
+
+define void @ti8(double %a, double %b) nounwind {
+entry:
+ %tmp1 = bitcast double %a to <8 x i8>
+; CHECK: movdq2q
+ %tmp2 = bitcast double %b to <8 x i8>
+; CHECK: movdq2q
+ %tmp3 = add <8 x i8> %tmp1, %tmp2
+ store <8 x i8> %tmp3, <8 x i8>* null
+ ret void
+}
+
+define void @ti16(double %a, double %b) nounwind {
+entry:
+ %tmp1 = bitcast double %a to <4 x i16>
+; CHECK: movdq2q
+ %tmp2 = bitcast double %b to <4 x i16>
+; CHECK: movdq2q
+ %tmp3 = add <4 x i16> %tmp1, %tmp2
+ store <4 x i16> %tmp3, <4 x i16>* null
+ ret void
+}
+
+define void @ti32(double %a, double %b) nounwind {
+entry:
+ %tmp1 = bitcast double %a to <2 x i32>
+; CHECK: movdq2q
+ %tmp2 = bitcast double %b to <2 x i32>
+; CHECK: movdq2q
+ %tmp3 = add <2 x i32> %tmp1, %tmp2
+ store <2 x i32> %tmp3, <2 x i32>* null
+ ret void
+}
+
+define void @ti64(double %a, double %b) nounwind {
+entry:
+ %tmp1 = bitcast double %a to <1 x i64>
+; CHECK: movdq2q
+ %tmp2 = bitcast double %b to <1 x i64>
+; CHECK: movdq2q
+ %tmp3 = add <1 x i64> %tmp1, %tmp2
+ store <1 x i64> %tmp3, <1 x i64>* null
+ ret void
+}
Removed: llvm/trunk/test/CodeGen/X86/mmx-movdq2q1.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/mmx-movdq2q1.ll?rev=102215&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/X86/mmx-movdq2q1.ll (original)
+++ llvm/trunk/test/CodeGen/X86/mmx-movdq2q1.ll (removed)
@@ -1,9 +0,0 @@
-; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=+mmx,+sse2 | grep movdq2q | count 2
-define void @t2(double %a, double %b) nounwind {
-entry:
- %tmp1 = bitcast double %a to <2 x i32>
- %tmp2 = bitcast double %b to <2 x i32>
- %tmp3 = add <2 x i32> %tmp1, %tmp2
- store <2 x i32> %tmp3, <2 x i32>* null
- ret void
-}
Removed: llvm/trunk/test/CodeGen/X86/mmx-movdq2q2.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/mmx-movdq2q2.ll?rev=102215&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/X86/mmx-movdq2q2.ll (original)
+++ llvm/trunk/test/CodeGen/X86/mmx-movdq2q2.ll (removed)
@@ -1,9 +0,0 @@
-; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=+mmx,+sse2 | grep movdq2q | count 2
-define void @t2(double %a, double %b) nounwind {
-entry:
- %tmp1 = bitcast double %a to <4 x i16>
- %tmp2 = bitcast double %b to <4 x i16>
- %tmp3 = add <4 x i16> %tmp1, %tmp2
- store <4 x i16> %tmp3, <4 x i16>* null
- ret void
-}
Removed: llvm/trunk/test/CodeGen/X86/mmx-movdq2q3.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/mmx-movdq2q3.ll?rev=102215&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/X86/mmx-movdq2q3.ll (original)
+++ llvm/trunk/test/CodeGen/X86/mmx-movdq2q3.ll (removed)
@@ -1,9 +0,0 @@
-; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=+mmx,+sse2 | grep movdq2q | count 2
-define void @t2(double %a, double %b) nounwind {
-entry:
- %tmp1 = bitcast double %a to <8 x i8>
- %tmp2 = bitcast double %b to <8 x i8>
- %tmp3 = add <8 x i8> %tmp1, %tmp2
- store <8 x i8> %tmp3, <8 x i8>* null
- ret void
-}
Removed: llvm/trunk/test/CodeGen/X86/mmx-movdq2q4.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/mmx-movdq2q4.ll?rev=102215&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/X86/mmx-movdq2q4.ll (original)
+++ llvm/trunk/test/CodeGen/X86/mmx-movdq2q4.ll (removed)
@@ -1,9 +0,0 @@
-; RUN: llc < %s -mtriple=x86_64-apple-darwin -mattr=+mmx,+sse2 | grep movdq2q | count 2
-define void @t2(double %a, double %b) nounwind {
-entry:
- %tmp1 = bitcast double %a to <1 x i64>
- %tmp2 = bitcast double %b to <1 x i64>
- %tmp3 = add <1 x i64> %tmp1, %tmp2
- store <1 x i64> %tmp3, <1 x i64>* null
- ret void
-}
More information about the llvm-commits
mailing list