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 4 5define void @f0() nounwind { 6entry: 7; 32: addiu $4, $zero, 1 8; 32: addiu $4, $zero, 1 9 10 tail call void @foo1(i32 1) nounwind 11 tail call void @foo1(i32 1) nounwind 12 ret void 13} 14 15declare void @foo1(i32) 16 17define void @f3() nounwind { 18entry: 19; 64: daddiu $4, $zero, 1 20; 64: daddiu $4, $zero, 1 21 22 tail call void @foo2(i64 1) nounwind 23 tail call void @foo2(i64 1) nounwind 24 ret void 25} 26 27declare void @foo2(i64) 28 29define void @f5() nounwind { 30entry: 31; 32: lui $4, 1 32; 32: lui $4, 1 33 34 tail call void @f6(i32 65536) nounwind 35 tail call void @f6(i32 65536) nounwind 36 ret void 37} 38 39declare void @f6(i32) 40 41define void @f7() nounwind { 42entry: 43; 64: lui $4, 1 44; 64: lui $4, 1 45 46 tail call void @f8(i64 65536) nounwind 47 tail call void @f8(i64 65536) nounwind 48 ret void 49} 50 51declare void @f8(i64) 52 53