• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
6define i32 @func0() {
7  %val = load i32, i32 addrspace(1)* @g
8  ret i32 %val
9}
10