64ac736ec5
Former-commit-id: f3cc9b82f3e5bd8f0fd3ebc098f789556b44e9cd
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
|
|
}
|