Sign in
swiftshader
/
SwiftShader
/
5f1b4c0ba92e3b37ba64b9a9dd4d6e03c37cac19
/
.
/
third_party
/
llvm-7.0
/
llvm
/
test
/
CodeGen
/
NVPTX
/
weak-global.ll
blob: a64f9f48b26f378e2ee0a81e74f95fba9ee9f454 [
file
] [
log
] [
blame
]
; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s
; CHECK: .weak .global .align 4 .u32 g
@g
=
common
addrspace
(
1
)
global
i32
zeroinitializer
define
i32
@func0
()
{
%val
=
load
i32
,
i32
addrspace
(
1
)*
@g
ret
i32
%val
}