summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/peep-vector-extract-concat.ll
blob: e6c88bbff9d5e24062655f4de080a1257d5d0dcd (plain)
1
2
3
4
5
6
; RUN: llvm-as < %s | llc -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
}
OpenPOWER on IntegriCloud