xref: /llvm-project/llvm/test/CodeGen/Mips/stacksize.ll (revision 56049b71294c7a338a43a00937d867edd787a260)
1; RUN: llc -mtriple=mipsel -relocation-model=static < %s | FileCheck %s
2
3define i32 @foo(i32 %a) nounwind readnone {
4entry:
5; check that stack size is zero.
6; CHECK-NOT: addiu $sp, $sp
7  %add = add nsw i32 %a, 1
8  ret i32 %add
9}
10