mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-07 12:07:17 +00:00
ac4c131de6
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205906 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
366 B
LLVM
10 lines
366 B
LLVM
; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s
|
|
|
|
; CHECK: .visible .global .align 4 .u32 g = 42;
|
|
; CHECK: .visible .global .align 4 .u32 g2 = generic(g);
|
|
; CHECK: .visible .global .align 4 .u32 g3 = g;
|
|
|
|
@g = addrspace(1) global i32 42
|
|
@g2 = addrspace(1) global i32* addrspacecast (i32 addrspace(1)* @g to i32*)
|
|
@g3 = addrspace(1) global i32 addrspace(1)* @g
|