Home | History | Annotate | Download | only in X86
      1 ; RUN: llc -O0 < %s | FileCheck %s
      2 
      3 target datalayout = "e-m:e-p:32:32-f64:32:64-f80:32-n8:16:32-S128"
      4 target triple = "i686-pc-linux"
      5 
      6 ; Function Attrs: noinline nounwind
      7 define i32 @foo(i32 %i, i32 %j, i32 %k, i32 %l, i32 %m) {
      8 ; CHECK-LABEL:   foo:
      9 ; CHECK:         addl	$20, %esp
     10 ; CHECK-NEXT:    .cfi_def_cfa_offset 16
     11 ; CHECK-NEXT:    popl	%esi
     12 ; CHECK-NEXT:    .cfi_def_cfa_offset 12
     13 ; CHECK-NEXT:    popl	%edi
     14 ; CHECK-NEXT:    .cfi_def_cfa_offset 8
     15 ; CHECK-NEXT:    popl	%ebx
     16 ; CHECK-NEXT:    .cfi_def_cfa_offset 4
     17 ; CHECK-NEXT:    retl
     18 entry:
     19   %i.addr = alloca i32, align 4
     20   %j.addr = alloca i32, align 4
     21   %k.addr = alloca i32, align 4
     22   %l.addr = alloca i32, align 4
     23   %m.addr = alloca i32, align 4
     24   store i32 %i, i32* %i.addr, align 4
     25   store i32 %j, i32* %j.addr, align 4
     26   store i32 %k, i32* %k.addr, align 4
     27   store i32 %l, i32* %l.addr, align 4
     28   store i32 %m, i32* %m.addr, align 4
     29   ret i32 0
     30 }
     31 
     32 
     33 
     34