repo.or.cz
/
llvm
/
msp430.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Handle logical shift right (at least I hope so :) )
[llvm/msp430.git]
/
test
/
CodeGen
/
XCore
/
getid.ll
blob
810e8ad6e75ce25b8789f28901d1afa35d968576
1
; RUN: llvm-as < %s | llc -march=xcore > %t1.s
2
; RUN: grep "get r11, id" %t1.s | count 1
3
declare i32 @llvm.xcore.getid()
4
5
define i32 @test() {
6
%result = call i32 @llvm.xcore.getid()
7
ret i32 %result
8
}