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
Shrink Thumb2 movcc instructions.
[llvm/avr.git]
/
test
/
CodeGen
/
XCore
/
bitrev.ll
blob
38f3948697638b1e5e8d7fbaae9bea8ca07a3942
1
; RUN: llvm-as < %s | llc -march=xcore > %t1.s
2
; RUN: grep bitrev %t1.s | count 1
3
declare i32 @llvm.xcore.bitrev(i32)
4
5
define i32 @test(i32 %val) {
6
%result = call i32 @llvm.xcore.bitrev(i32 %val)
7
ret i32 %result
8
}