From 25fa8313d710bc3c2c6a8147bdf9a91903a555e4 Mon Sep 17 00:00:00 2001 From: Evan Cheng Date: Mon, 9 Oct 2006 22:42:31 +0000 Subject: [PATCH] shufps with load folding is better than movaps; movsd. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@30849 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/vec_shuffle-5.ll | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/CodeGen/X86/vec_shuffle-5.ll b/test/CodeGen/X86/vec_shuffle-5.ll index ac9c667aa45..2480ce0e15e 100644 --- a/test/CodeGen/X86/vec_shuffle-5.ll +++ b/test/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