repo.or.cz
/
llvm
/
zpu.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed some bugs in register stack pass.
[llvm/zpu.git]
/
test
/
CodeGen
/
X86
/
x86-64-pic-5.ll
blob
6369bde6943da50e4c99575fc7301c55d80a3f20
1
; RUN: llc < %s -mtriple=x86_64-pc-linux -relocation-model=pic -o %t1
2
; RUN: grep {movl a(%rip),} %t1
3
; RUN: not grep GOTPCREL %t1
4
5
@a = hidden global i32 0
6
7
define i32 @get_a() {
8
entry:
9
%tmp1 = load i32* @a, align 4
10
ret i32 %tmp1
11
}