1; RUN: llc -march=mips < %s | FileCheck %s
2
3define i64 @add64(i64 %u, i64 %v) nounwind  {
4entry:
5; CHECK-LABEL: add64:
6; CHECK: addu
7; CHECK-DAG: sltu
8; CHECK-DAG: addu
9; CHECK: addu
10  %tmp2 = add i64 %u, %v
11  ret i64 %tmp2
12}
13
14define i64 @sub64(i64 %u, i64 %v) nounwind  {
15entry:
16; CHECK-LABEL: sub64
17; CHECK-DAG: sltu
18; CHECK-DAG: subu
19; CHECK: subu
20; CHECK: subu
21  %tmp2 = sub i64 %u, %v
22  ret i64 %tmp2
23}
24