468663ddbb
Former-commit-id: 1d6753294b2993e1fbf92de9366bb9544db4189b
11 lines
215 B
LLVM
11 lines
215 B
LLVM
; 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
|
|
}
|