llvm.org GIT mirror llvm / release_60 test / CodeGen / X86 / insertelement-copytoregs.ll
release_60

Tree @release_60 (Download .tar.gz)

insertelement-copytoregs.ll @release_60raw · history · blame

; RUN: llc < %s -mtriple=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
}