[TwoAddressInstructionPass] When looking for a 3 addr conversion after commuting...
[oota-llvm.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 }