bolt/deps/llvm-18.1.8/llvm/test/CodeGen/Mips/stacksize.ll
2025-02-14 19:21:04 +01:00

9 lines
230 B
LLVM

; RUN: llc -mtriple=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
}