diff options
| author | Evan Cheng <evan.cheng@apple.com> | 2006-10-09 22:42:31 +0000 |
|---|---|---|
| committer | Evan Cheng <evan.cheng@apple.com> | 2006-10-09 22:42:31 +0000 |
| commit | 16488647d839eedd3db609be8acc182107c778c9 (patch) | |
| tree | 4a974758d4f2d42ed48fb432340a561d93562512 /llvm | |
| parent | 57ccb6d37268f1132bf62ff7a1e72031db97d0e3 (diff) | |
| download | bcm5719-llvm-16488647d839eedd3db609be8acc182107c778c9.tar.gz bcm5719-llvm-16488647d839eedd3db609be8acc182107c778c9.zip | |
shufps with load folding is better than movaps; movsd.
llvm-svn: 30849
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/test/Regression/CodeGen/X86/vec_shuffle-5.ll | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/Regression/CodeGen/X86/vec_shuffle-5.ll b/llvm/test/Regression/CodeGen/X86/vec_shuffle-5.ll index ac9c667aa45..2480ce0e15e 100644 --- a/llvm/test/Regression/CodeGen/X86/vec_shuffle-5.ll +++ b/llvm/test/Regression/CodeGen/X86/vec_shuffle-5.ll @@ -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 |

