view test/CodeGen/Mips/stack-alignment.ll @ 33:e4204d083e25

LLVM 3.5
author Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp>
date Thu, 12 Dec 2013 14:32:10 +0900
parents 95c75e76d11b
children 803732b1fca8
line wrap: on
line source

; 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" }