projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
[SPARC] Fix stupid oversight in stack realignment support.
[oota-llvm.git]
/
test
/
CodeGen
/
XCore
/
private.ll
1
; Test to make sure that the 'private' is used correctly.
2
;
3
; RUN: llc < %s -march=xcore | FileCheck %s
4
5
define private void @foo() {
6
; CHECK: .Lfoo:
7
ret void
8
}
9
10
@baz = private global i32 4
11
12
define i32 @bar() {
13
; CHECK-LABEL: bar:
14
; CHECK: bl .Lfoo
15
; CHECK: ldw r0, dp[.Lbaz]
16
call void @foo()
17
%1 = load i32, i32* @baz, align 4
18
ret i32 %1
19
}
20
21
; CHECK: .Lbaz: