repo.or.cz
/
llvm
/
avr.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
revert a hunk of r82018 that wasn't supposed to go in yet.
[llvm/avr.git]
/
test
/
CodeGen
/
X86
/
x86-64-pic-6.ll
blob
6e19ad35bcf44329a74333985ced97dc004e3a18
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 = internal global i32 0
6
7
define i32 @get_a() nounwind {
8
entry:
9
%tmp1 = load i32* @a, align 4
10
ret i32 %tmp1
11
}