summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/X86/insertelement-copytoregs.ll
blob: 34a29ca7d939c4c8a37a3555586bd66b21ce30d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
; RUN: llc < %s -march=x86-64 | grep -v IMPLICIT_DEF

define void @foo(<2 x float>* %p) {
  %t = insertelement <2 x float> undef, float 0.0, i32 0
  %v = insertelement <2 x float> %t,   float 0.0, i32 1
  br label %bb8

bb8:
  store <2 x float> %v, <2 x float>* %p
  ret void
}
OpenPOWER on IntegriCloud