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