repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
Mips
/
2008-06-05-Carry.ll
blob
5e6092fc7848ddb2095abf58bb1fe5718b52f4d0
1
; RUN: llc -march=mips < %s | FileCheck %s
2
3
define i64 @add64(i64 %u, i64 %v) nounwind {
4
entry:
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
14
define i64 @sub64(i64 %u, i64 %v) nounwind {
15
entry:
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
}