llvm-6502/test/CodeGen/X86/peep-vector-extract-concat.ll
2009-09-08 23:54:48 +00:00

7 lines
191 B
LLVM

; RUN: llc < %s -march=x86-64 -mattr=+sse2,-sse41 | grep {pshufd \$3, %xmm0, %xmm0}
define float @foo(<8 x float> %a) nounwind {
%c = extractelement <8 x float> %a, i32 3
ret float %c
}