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-neg.ll
blob
6bf11ec90621b529530921a3fa40c1ef8f197f1f
1
; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
2
3
define i32 @f1(i32 %a) {
4
; CHECK: f1:
5
; CHECK: rsbs r0, r0, #0
6
%tmp = sub i32 0, %a
7
ret i32 %tmp
8
}