1 ; RUN: llc -march=mipsel < %s | FileCheck %s -check-prefix=32
2 ; RUN: llc -march=mips64el -mcpu=mips64 -mattr=n64 < %s | FileCheck %s -check-prefix=64
4 define void @f0() nounwind {
6 ; 32: addiu $4, $zero, 1
7 ; 32: addiu $4, $zero, 1
9 tail call void @foo1(i32 1) nounwind
10 tail call void @foo1(i32 1) nounwind
14 declare void @foo1(i32)
16 define void @f3() nounwind {
18 ; 64: daddiu $4, $zero, 1
19 ; 64: daddiu $4, $zero, 1
21 tail call void @foo2(i64 1) nounwind
22 tail call void @foo2(i64 1) nounwind
26 declare void @foo2(i64)
28 define void @f5() nounwind {
33 tail call void @f6(i32 65536) nounwind
34 tail call void @f6(i32 65536) nounwind
40 define void @f7() nounwind {
45 tail call void @f8(i64 65536) nounwind
46 tail call void @f8(i64 65536) nounwind