[llvm-commits] [llvm] r79116 - in /llvm/trunk/test/CodeGen/X86: sse2.ll vec_loadhl.ll
Chris Lattner
sabre at nondot.org
Sat Aug 15 10:24:09 PDT 2009
Author: lattner
Date: Sat Aug 15 12:24:09 2009
New Revision: 79116
URL: http://llvm.org/viewvc/llvm-project?rev=79116&view=rev
Log:
rename this test to sse2.ll
Added:
llvm/trunk/test/CodeGen/X86/sse2.ll
- copied unchanged from r79099, llvm/trunk/test/CodeGen/X86/vec_loadhl.ll
Removed:
llvm/trunk/test/CodeGen/X86/vec_loadhl.ll
Removed: llvm/trunk/test/CodeGen/X86/vec_loadhl.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/vec_loadhl.ll?rev=79115&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/X86/vec_loadhl.ll (original)
+++ llvm/trunk/test/CodeGen/X86/vec_loadhl.ll (removed)
@@ -1,19 +0,0 @@
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep movlpd
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep movhpd
-; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | not grep movsd
-
-define void @t1(<2 x double>* %r, <2 x double>* %A, double %B) nounwind {
- %tmp3 = load <2 x double>* %A, align 16
- %tmp7 = insertelement <2 x double> undef, double %B, i32 0
- %tmp9 = shufflevector <2 x double> %tmp3, <2 x double> %tmp7, <2 x i32> < i32 2, i32 1 >
- store <2 x double> %tmp9, <2 x double>* %r, align 16
- ret void
-}
-
-define void @t2(<2 x double>* %r, <2 x double>* %A, double %B) nounwind {
- %tmp3 = load <2 x double>* %A, align 16
- %tmp7 = insertelement <2 x double> undef, double %B, i32 0
- %tmp9 = shufflevector <2 x double> %tmp3, <2 x double> %tmp7, <2 x i32> < i32 0, i32 2 >
- store <2 x double> %tmp9, <2 x double>* %r, align 16
- ret void
-}
More information about the llvm-commits
mailing list