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 4 define void @foo(i32** %p) { 5 ; CHECK-LABEL: foo: 6 ; CHECK: # %bb.0: 7 ; CHECK-NEXT: leal -{{[0-9]+}}(%rsp), %eax 8 ; CHECK-NEXT: addl $16, %eax 9 ; CHECK-NEXT: movl %eax, (%edi) 10 ; CHECK-NEXT: retq 11 %a = alloca i32, i32 10 12 %addr = getelementptr i32, i32* %a, i32 4 13 store i32* %addr, i32** %p 14 ret void 15 } 16 17