2019-08-26 21:53:29 +08:00
|
|
|
; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
|
|
|
|
; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s --implicit-check-not IMPLICIT_DEF
|
2007-08-10 22:59:38 +08:00
|
|
|
|
|
|
|
define void @foo(<2 x float>* %p) {
|
2019-08-26 21:53:29 +08:00
|
|
|
; CHECK-LABEL: foo:
|
|
|
|
; CHECK: # %bb.0:
|
|
|
|
; CHECK-NEXT: xorps %xmm0, %xmm0
|
|
|
|
; CHECK-NEXT: movlps %xmm0, (%rdi)
|
|
|
|
; CHECK-NEXT: retq
|
2007-08-10 22:59:38 +08:00
|
|
|
%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
|
|
|
|
}
|