repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
pass machinemoduleinfo down into getSymbolForDwarfGlobalReference,
[llvm/avr.git]
/
test
/
CodeGen
/
Thumb2
/
thumb2-ror2.ll
blob
ffd1dd7dc6137aa85c79fa54328ab6a2964a59b6
1
; RUN: llc < %s -march=thumb -mattr=+thumb2 | FileCheck %s
2
3
define i32 @f1(i32 %a, i32 %b) {
4
; CHECK: f1:
5
; CHECK: rors r0, r1
6
%db = sub i32 32, %b
7
%l8 = shl i32 %a, %b
8
%r8 = lshr i32 %a, %db
9
%tmp = or i32 %l8, %r8
10
ret i32 %tmp
11
}