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
[flang][cuda] Do not register global constants (#118582)
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
AArch64
/
arm64-weak-reference.ll
blob
d1510b277a044f58138e444b6b24c4deed3d80fd
1
; RUN: llc < %s -mtriple=arm64-apple-ios | FileCheck %s
2
3
@x = extern_weak global i32
4
5
define i32 @fn() nounwind ssp {
6
; CHECK-LABEL: fn:
7
; CHECK: .weak_reference
8
%val = load i32, ptr @x, align 4
9
ret i32 %val
10
}