shufps with load folding is better than movaps; movsd.

llvm-svn: 30849
This commit is contained in:
Evan Cheng 2006-10-09 22:42:31 +00:00
parent 57ccb6d372
commit 16488647d8
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep movsd | wc -l | grep 1
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep movhlps | wc -l | grep 1 &&
; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse2 | grep shufps | wc -l | grep 1
void %test() {
%tmp1 = load <4 x float>* null