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
[AArch64,ELF] Restrict MOVZ/MOVK to non-PIC large code model (#70178)
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
X86
/
ga-offset2.ll
blob
f80c339cfae4141fe4c91bcce64bbf56ea050a9c
1
; RUN: llc < %s -mtriple=i686-apple-darwin -relocation-model=dynamic-no-pic | FileCheck %s
2
3
@var = external hidden global i32
4
@p = external hidden global ptr
5
6
define void @f() {
7
; CHECK: movl $_var+40, _p
8
store ptr getelementptr (i32, ptr @var, i64 10), ptr @p
9
ret void
10
}