aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Mips/stack-alignment.ll
blob: b18f96695ff571e08aacff312a4c5ec9f78486ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
; RUN: llc -march=mipsel < %s | FileCheck %s -check-prefix=32
; RUN: llc -march=mipsel -mattr=+fp64 < %s | FileCheck %s -check-prefix=32
; RUN: llc -march=mips64el -mcpu=mips64 < %s | FileCheck %s -check-prefix=64

; 32:      addiu  $sp, $sp, -8
; 64:      addiu  $sp, $sp, -16

define i32 @foo1() #0 {
entry:
  ret i32 14
}

attributes #0 = { "no-frame-pointer-elim"="true" }