source: icGREP/icgrep-devel/llvm-3.8.0.src/test/CodeGen/ARM/hidden-vis-2.ll @ 5027

Last change on this file since 5027 was 5027, checked in by cameron, 3 years ago

Upgrade to llvm 3.8

File size: 300 bytes
Line 
1; RUN: llc < %s -relocation-model=dynamic-no-pic -mtriple=arm-apple-darwin | FileCheck %s
2
3@x = weak hidden global i32 0           ; <i32*> [#uses=1]
4
5define i32 @t() nounwind readonly {
6entry:
7; CHECK-LABEL: t:
8; CHECK: ldr
9; CHECK-NEXT: ldr
10        %0 = load i32, i32* @x, align 4         ; <i32> [#uses=1]
11        ret i32 %0
12}
Note: See TracBrowser for help on using the repository browser.