☰
Debian Codegraph
@
1:22.1.8-2
1:22.1.8-1
1:22.1.7-1
/
/
llvm
/
test
/
CodeGen
/
XCore
/
getid.ll
☽
☼
llvm/test/CodeGen/XCore/getid.ll
code
plain
raw
APACHE-2-LLVM-EXCEPTIONS
2003-2017 University of Illinois at Urbana-Champaign.
debian/copyright
1
; RUN: llc < %s -mtriple=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
}