Sign in
swiftshader
/
SwiftShader
/
48d47a4912684bfa4d23d3cdaab60046bf3d0468
/
.
/
third_party
/
llvm-7.0
/
llvm
/
test
/
CodeGen
/
AArch64
/
arm64-weak-reference.ll
blob: e8074def4e6e450c7e21a215bd01a6943cf5241b [
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
,
i32
*
@x
,
align
4
ret
i32
%val
}