repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[Reland][Runtimes] Merge 'compile_commands.json' files from runtimes build (#116303)
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
XCore
/
tls.ll
blob
f71f36565d2bc3f6c7ea361484219b9a8eda868e
1
; RUN: llc < %s -march=xcore -mcpu=xs1b-generic | FileCheck %s
2
3
define ptr @addr_G() {
4
entry:
5
; CHECK-LABEL: addr_G:
6
; CHECK: get r11, id
7
ret ptr @G
8
}
9
10
@G = thread_local global i32 15
11
; CHECK: .section .dp.data,"awd",@progbits
12
; CHECK: G:
13
; CHECK: .long 15
14
; CHECK: .long 15
15
; CHECK: .long 15
16
; CHECK: .long 15
17
; CHECK: .long 15
18
; CHECK: .long 15
19
; CHECK: .long 15
20
; CHECK: .long 15