1
; RUN: llc -march=mipsel < %s | FileCheck %s -check-prefix=32
2
; RUN: llc -march=mips64el -mcpu=mips4 -target-abi=n64 < %s | FileCheck %s -check-prefix=64
3
; RUN: llc -march=mips64el -mcpu=mips64 -target-abi=n64 < %s | FileCheck %s -check-prefix=64
5
define void @f0() nounwind {
7
; 32: addiu $4, $zero, 1
8
; 32: addiu $4, $zero, 1
10
tail call void @foo1(i32 1) nounwind
11
tail call void @foo1(i32 1) nounwind
15
declare void @foo1(i32)
17
define void @f3() nounwind {
19
; 64: daddiu $4, $zero, 1
20
; 64: daddiu $4, $zero, 1
22
tail call void @foo2(i64 1) nounwind
23
tail call void @foo2(i64 1) nounwind
27
declare void @foo2(i64)
29
define void @f5() nounwind {
34
tail call void @f6(i32 65536) nounwind
35
tail call void @f6(i32 65536) nounwind
41
define void @f7() nounwind {
46
tail call void @f8(i64 65536) nounwind
47
tail call void @f8(i64 65536) nounwind