1 ; RUN: split-file %s %t
2 ; RUN: cat %t/main.ll %t/_32.ll > %t/32.ll
3 ; RUN: llc -march=mipsel < %t/main.ll | FileCheck %s -check-prefix=32
4 ; RUN: llc -march=mipsel < %t/32.ll | FileCheck %s -check-prefix=A32-32
5 ; RUN: llc -march=mipsel -mattr=+fp64,+mips32r2 < %t/main.ll | FileCheck %s -check-prefix=32
6 ; RUN: llc -march=mips64el -mcpu=mips3 < %t/main.ll | FileCheck %s -check-prefix=64
7 ; RUN: llc -march=mips64el -mcpu=mips4 < %t/main.ll | FileCheck %s -check-prefix=64
8 ; RUN: llc -march=mips64el -mcpu=mips64 < %t/main.ll | FileCheck %s -check-prefix=64
9 ; RUN: llc -march=mips64el -mcpu=mips64 < %t/32.ll | FileCheck %s -check-prefix=A32-64
12 ; 32: addiu $sp, $sp, -8
13 ; 64: daddiu $sp, $sp, -16
14 ; A32-32: addiu $sp, $sp, -32
15 ; A32-64: daddiu $sp, $sp, -32
17 define i32 @foo1() #0 {
22 attributes #0 = { "frame-pointer"="all" }
24 !llvm.module.flags = !{!0}
25 !0 = !{i32 1, !"override-stack-alignment", i32 32}