1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

Test case for r159240.

llvm-svn: 159242
This commit is contained in:
Akira Hatanaka 2012-06-27 00:40:34 +00:00
parent 70997406e4
commit ea099eba3e

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
}