projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Sparc backend:
[oota-llvm.git]
/
test
/
CodeGen
/
Thumb2
/
thumb2-ror.ll
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