• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s
2
3; CHECK: .visible .global .align 4 .u32 g = 42;
4; CHECK: .visible .global .align 4 .u32 g2 = generic(g);
5; CHECK: .visible .global .align 4 .u32 g3 = g;
6
7@g = addrspace(1) global i32 42
8@g2 = addrspace(1) global i32* addrspacecast (i32 addrspace(1)* @g to i32*)
9@g3 = addrspace(1) global i32 addrspace(1)* @g
10