Test case for r159240.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@159242 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Akira Hatanaka 2012-06-27 00:40:34 +00:00
parent eb2dea2c3c
commit e3e12450e6

View File

@ -0,0 +1,9 @@
; RUN: llc -march=mipsel -relocation-model=static < %s | FileCheck %s
define i32 @foo(i32 %a) nounwind readnone {
entry:
; check that stack size is zero.
; CHECK-NOT: addiu $sp, $sp
%add = add nsw i32 %a, 1
ret i32 %add
}