repo.or.cz
/
llvm-complete.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[MIParser] Set RegClassOrRegBank during instruction parsing
[llvm-complete.git]
/
test
/
CodeGen
/
PowerPC
/
indirect-hidden.ll
blob
8b791c097f1b569d1e8a368deadab24c38d23015
1
; RUN: llc -verify-machineinstrs -mtriple=powerpc-unknown-linux-gnu < %s | FileCheck %s
2
3
@a = external hidden global i32
4
@b = external global i32
5
6
define i32* @get_a() {
7
ret i32* @a
8
}
9
10
define i32* @get_b() {
11
ret i32* @b
12
}
13
14
; CHECK: .globl get_a
15
; CHECK: .p2align 2
16
; CHECK: .type get_a,@function
17
; CHECK: .globl get_b
18
; CHECK: .p2align 2
19
; CHECK: .type get_b,@function
20
; CHECK: .hidden a