1 ; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
2 ; RUN: llc < %s -mtriple=x86_64-linux-gnux32 -O0 | FileCheck %s
3 ; RUN: llc < %s -mtriple=x86_64-linux-muslx32 -O0 | FileCheck %s
5 define void @foo(ptr %p) {
8 ; CHECK-NEXT: leal -{{[0-9]+}}(%rsp), %eax
9 ; CHECK-NEXT: addl $16, %eax
10 ; CHECK-NEXT: movl %eax, (%edi)
12 %a = alloca i32, i32 10
13 %addr = getelementptr i32, ptr %a, i32 4
14 store ptr %addr, ptr %p