summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/peep-vector-extract-concat.ll
blob: 6880fc33c9ac15ea776fb5b597cf562a71a0584d (plain)
1
2
3
4
5
6
; RUN: llvm-as < %s | llc -march=x86-64 | grep {shufps \$3, %xmm0, %xmm0}

define float @foo(<8 x float> %a) {
  %c = extractelement <8 x float> %a, i32 3
  ret float %c
}
OpenPOWER on IntegriCloud