1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu | FileCheck %s
4 define i32 @foo(i32 %arg1) #0 {
6 ; CHECK: # %bb.0: # %entry
7 ; CHECK-NEXT: # kill: def $edi killed $edi def $rdi
8 ; CHECK-NEXT: vxorps %xmm0, %xmm0, %xmm0
9 ; CHECK-NEXT: vmovups %ymm0, -{{[0-9]+}}(%rsp)
10 ; CHECK-NEXT: andl $31, %edi
11 ; CHECK-NEXT: movzbl -40(%rsp,%rdi), %eax
12 ; CHECK-NEXT: vzeroupper
15 %a = extractelement <32 x i8> zeroinitializer, i32 %arg1
16 %b = zext i8 %a to i32
20 attributes #0 = { "no-realign-stack" "target-cpu"="skylake-avx512" }