From a394117bc0a7a94d99869e2e83ff0647d3aff9a6 Mon Sep 17 00:00:00 2001 From: Dan Gohman Date: Tue, 24 Jul 2007 22:55:08 +0000 Subject: Use movaps to load a v4f32 build_vector of all-constant values into a register instead of loading each element individually. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@40478 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/v4f32-immediate.ll | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 test/CodeGen/X86/v4f32-immediate.ll (limited to 'test/CodeGen/X86/v4f32-immediate.ll') diff --git a/test/CodeGen/X86/v4f32-immediate.ll b/test/CodeGen/X86/v4f32-immediate.ll new file mode 100644 index 0000000..67b5e79 --- /dev/null +++ b/test/CodeGen/X86/v4f32-immediate.ll @@ -0,0 +1,5 @@ +; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse | grep movaps + +define <4 x float> @foo() { + ret <4 x float> +} -- cgit v1.1