repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[Reland][Runtimes] Merge 'compile_commands.json' files from runtimes build (#116303)
[llvm-project.git]
/
llvm
/
test
/
CodeGen
/
ARM
/
hidden-vis-2.ll
blob
b642d5937c6d418a5c7ba8b5690162d022a709c4
1
; RUN: llc < %s -relocation-model=dynamic-no-pic -mtriple=arm-apple-darwin | FileCheck %s
2
3
@x = weak hidden global i32 0 ; <ptr> [#uses=1]
4
5
define i32 @t() nounwind readonly {
6
entry:
7
; CHECK-LABEL: t:
8
; CHECK: ldr
9
; CHECK-NEXT: ldr
10
%0 = load i32, ptr @x, align 4 ; <i32> [#uses=1]
11
ret i32 %0
12
}