• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; Test to make sure that the 'private' is used correctly.
2;
3; RUN: llc < %s -march=cellspu > %t
4; RUN: grep .Lfoo: %t
5; RUN: grep brsl.*\.Lfoo %t
6; RUN: grep .Lbaz: %t
7; RUN: grep ila.*\.Lbaz %t
8
9define private void @foo() {
10        ret void
11}
12
13@baz = private global i32 4
14
15define i32 @bar() {
16        call void @foo()
17	%1 = load i32* @baz, align 4
18        ret i32 %1
19}
20