1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-23 21:13:02 +02:00
llvm-mirror/test/CodeGen/AArch64/arm64-weak-reference.ll

11 lines
215 B
LLVM
Raw Normal View History

; 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
}