view test/CodeGen/X86/insertelement-copytoregs.ll @ 33:e4204d083e25

LLVM 3.5
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Thu, 12 Dec 2013 14:32:10 +0900
parents 95c75e76d11b
children 803732b1fca8
line wrap: on
line source

; RUN: llc < %s -march=x86-64 | FileCheck %s
; CHECK-NOT: 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
}