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
[InstCombine] Signed saturation patterns
[llvm-complete.git]
/
test
/
CodeGen
/
NVPTX
/
weak-global.ll
blob
a64f9f48b26f378e2ee0a81e74f95fba9ee9f454
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
}