Sign in
llvm
/
llvm-project
/
461274b81d8641eab64d494accddc81d7db8a09e
/
.
/
llvm
/
test
/
CodeGen
/
AArch64
/
arm64-weak-reference.ll
blob: d1510b277a044f58138e444b6b24c4deed3d80fd [
file
] [
log
] [
blame
]
; RUN: llc < %s -mtriple=arm64-apple-ios | FileCheck %s
@x
=
extern_weak
global
i32
define
i32
@fn
()
nounwind
ssp
{
; CHECK-LABEL: fn:
; CHECK: .weak_reference
%val
=
load
i32
,
ptr
@x
,
align
4
ret
i32
%val
}