hanchenye-llvm-project/llvm/test/CodeGen/X86/peep-vector-extract-concat.ll

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
}