repo.or.cz
/
llvm
/
stm8.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Use static inline to do the right thing when built in C99 mode. Of course,
[llvm/stm8.git]
/
test
/
CodeGen
/
Thumb2
/
thumb2-sub5.ll
blob
6edd789beec57dc393aacda214ba9856076be37e
1
; RUN: llc < %s -march=thumb -mattr=+thumb2 -mattr=+32bit | FileCheck %s
2
3
define i64 @f1(i64 %a, i64 %b) {
4
; CHECK: f1:
5
; CHECK: subs.w r0, r0, r2
6
; To test dead_carry, +32bit prevents sbc conveting to 16-bit sbcs
7
; CHECK: sbc.w r1, r1, r3
8
%tmp = sub i64 %a, %b
9
ret i64 %tmp
10
}