projects
/
oota-llvm.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Revert r239082
[oota-llvm.git]
/
test
/
CodeGen
/
NVPTX
/
weak-global.ll
1
; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s
2
3
; CHECK: .weak .global .align 4 .u32 g
4
@g = common addrspace(1) global i32 zeroinitializer
5
6
define i32 @func0() {
7
%val = load i32, i32 addrspace(1)* @g
8
ret i32 %val
9
}