llvm-6502/test/CodeGen/X86/v4f32-immediate.ll
Dan Gohman a394117bc0 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
2007-07-24 22:55:08 +00:00

6 lines
165 B
LLVM

; RUN: llvm-as < %s | llc -march=x86 -mattr=+sse | grep movaps
define <4 x float> @foo() {
ret <4 x float> <float 3.223542354, float 2.3, float 1.2, float 0.1>
}