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