projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
b2135e0960cb343bfa757f2ace083f994c04fdc2
[oota-llvm.git]
/
test
/
CodeGen
/
AArch64
/
arm64-weak-reference.ll
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* @x, align 4
9
ret i32 %val
10
}