]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/CodeGen/X86/insertelement-copytoregs.ll
Vendor import of llvm release_40 branch r292009:
[FreeBSD/FreeBSD.git] / test / CodeGen / X86 / insertelement-copytoregs.ll
1 ; RUN: llc < %s -march=x86-64 | FileCheck %s
2 ; CHECK-NOT: IMPLICIT_DEF
3
4 define void @foo(<2 x float>* %p) {
5   %t = insertelement <2 x float> undef, float 0.0, i32 0
6   %v = insertelement <2 x float> %t,   float 0.0, i32 1
7   br label %bb8
8
9 bb8:
10   store <2 x float> %v, <2 x float>* %p
11   ret void
12 }