mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
ea099eba3e
llvm-svn: 159242
10 lines
228 B
LLVM
10 lines
228 B
LLVM
; 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
|
|
}
|