blob: b2135e0960cb343bfa757f2ace083f994c04fdc2 [file] [log] [blame]
Stephen Hines36b56882014-04-23 16:57:46 -07001; RUN: llc < %s -mtriple=arm64-apple-ios | FileCheck %s
2
3@x = extern_weak global i32
4
5define i32 @fn() nounwind ssp {
6; CHECK-LABEL: fn:
7; CHECK: .weak_reference
8 %val = load i32* @x, align 4
9 ret i32 %val
10}