mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-26 21:32:10 +00:00
12 lines
387 B
LLVM
12 lines
387 B
LLVM
|
; RUN: llc < %s -march=nvptx -mcpu=sm_20 | FileCheck %s
|
||
|
|
||
|
|
||
|
; CHECK: .visible .global .align 4 .u32 device_g;
|
||
|
@device_g = addrspace(1) global i32 zeroinitializer
|
||
|
; CHECK: .visible .global .attribute(.managed) .align 4 .u32 managed_g;
|
||
|
@managed_g = addrspace(1) global i32 zeroinitializer
|
||
|
|
||
|
|
||
|
!nvvm.annotations = !{!0}
|
||
|
!0 = metadata !{i32 addrspace(1)* @managed_g, metadata !"managed", i32 1}
|