1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=x86_64-- | FileCheck %s
5 define float @foo(<4 x float> %p, i32 %t) {
8 ; CHECK-NEXT: # kill: def $edi killed $edi def $rdi
9 ; CHECK-NEXT: movaps %xmm0, -{{[0-9]+}}(%rsp)
10 ; CHECK-NEXT: andl $3, %edi
11 ; CHECK-NEXT: movss {{.*#+}} xmm0 = mem[0],zero,zero,zero
13 %z = extractelement <4 x float> %p, i32 %t
16 define <4 x float> @bar(<4 x float> %p, float %f, i32 %t) {
19 ; CHECK-NEXT: # kill: def $edi killed $edi def $rdi
20 ; CHECK-NEXT: movaps %xmm0, -{{[0-9]+}}(%rsp)
21 ; CHECK-NEXT: andl $3, %edi
22 ; CHECK-NEXT: movss %xmm1, -24(%rsp,%rdi,4)
23 ; CHECK-NEXT: movaps -{{[0-9]+}}(%rsp), %xmm0
25 %z = insertelement <4 x float> %p, float %f, i32 %t