Akira Hatanaka | 6b2d841 | 2013-10-29 19:29:03 +0000 | [diff] [blame] | 1 | ; RUN: llc -march=mipsel < %s | FileCheck %s -check-prefix=32 |
2 | ; RUN: llc -march=mipsel -mattr=+fp64 < %s | FileCheck %s -check-prefix=32-FP64 | ||||
3 | ; RUN: llc -march=mips64el -mcpu=mips64 < %s | FileCheck %s -check-prefix=64 | ||||
4 | |||||
5 | ; 32: addiu $sp, $sp, -8 | ||||
6 | ; 32-FP64: addiu $sp, $sp, -16 | ||||
7 | ; 64: addiu $sp, $sp, -16 | ||||
8 | |||||
9 | define i32 @foo1() #0 { | ||||
10 | entry: | ||||
11 | ret i32 14 | ||||
12 | } | ||||
13 | |||||
14 | attributes #0 = { "no-frame-pointer-elim"="true" } |