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-ror.ll
blob
0200116fc31adcbef6f7c306667873d185e17601
1
; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
2
3
4
define i32 @f1(i32 %a) {
5
%l8 = shl i32 %a, 10
6
%r8 = lshr i32 %a, 22
7
%tmp = or i32 %l8, %r8
8
ret i32 %tmp
9
}
10
; CHECK: f1:
11
; CHECK: ror.w r0, r0, #22