repo.or.cz
/
llvm-core.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[InstCombine] Signed saturation patterns
[llvm-core.git]
/
test
/
CodeGen
/
XCore
/
getid.ll
blob
da80e10a0a6696db6fec9d40d4584ad06c19ed16
1
; RUN: llc < %s -march=xcore | FileCheck %s
2
declare i32 @llvm.xcore.getid()
3
4
define i32 @test() {
5
; CHECK-LABEL: test:
6
; CHECK: get r11, id
7
; CHECK-NEXT: mov r0, r11
8
%result = call i32 @llvm.xcore.getid()
9
ret i32 %result
10
}