Mercurial > hg > CbC > CbC_llvm
comparison test/CodeGen/Mips/stacksize.ll @ 0:95c75e76d11b LLVM3.4
LLVM 3.4
author | Kaito Tokumori <e105711@ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 12 Dec 2013 13:56:28 +0900 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:95c75e76d11b |
---|---|
1 ; RUN: llc -march=mipsel -relocation-model=static < %s | FileCheck %s | |
2 | |
3 define i32 @foo(i32 %a) nounwind readnone { | |
4 entry: | |
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 } |