53 lines · plain
1; RUN: llc -mtriple=mipsel < %s | FileCheck %s -check-prefix=322; RUN: llc -mtriple=mips64el -mcpu=mips4 -target-abi=n64 < %s | FileCheck %s -check-prefix=643; RUN: llc -mtriple=mips64el -mcpu=mips64 -target-abi=n64 < %s | FileCheck %s -check-prefix=644 5define void @f0() nounwind {6entry:7; 32: addiu $4, $zero, 18; 32: addiu $4, $zero, 19 10 tail call void @foo1(i32 1) nounwind11 tail call void @foo1(i32 1) nounwind12 ret void13}14 15declare void @foo1(i32)16 17define void @f3() nounwind {18entry:19; 64: daddiu $4, $zero, 120; 64: daddiu $4, $zero, 121 22 tail call void @foo2(i64 1) nounwind23 tail call void @foo2(i64 1) nounwind24 ret void25}26 27declare void @foo2(i64)28 29define void @f5() nounwind {30entry:31; 32: lui $4, 132; 32: lui $4, 133 34 tail call void @f6(i32 65536) nounwind35 tail call void @f6(i32 65536) nounwind36 ret void37}38 39declare void @f6(i32)40 41define void @f7() nounwind {42entry:43; 64: lui $4, 144; 64: lui $4, 145 46 tail call void @f8(i64 65536) nounwind47 tail call void @f8(i64 65536) nounwind48 ret void49}50 51declare void @f8(i64)52 53