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-ror.ll
blob
01adb528087beb92832311b219cf8365a40dd2d5
1
; RUN: llc < %s -march=thumb -mattr=+thumb2 | grep {ror\\.w\\W*r\[0-9\]*,\\W*r\[0-9\]*,\\W*#\[0-9\]*} | grep 22 | count 1
2
3
define i32 @f1(i32 %a) {
4
%l8 = shl i32 %a, 10
5
%r8 = lshr i32 %a, 22
6
%tmp = or i32 %l8, %r8
7
ret i32 %tmp
8
}