view test/CodeGen/AArch64/arm64-weak-reference.ll @ 100:7d135dc70f03 LLVM 3.9

LLVM 3.9
author Miyagi Mitsuki <e135756@ie.u-ryukyu.ac.jp>
date Tue, 26 Jan 2016 22:53:40 +0900
parents afa8332a0e37
children
line wrap: on
line source

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