mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
2a8dc35cca
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@211941 91177308-0d34-0410-b5e6-96231b3b80d8
10 lines
223 B
LLVM
10 lines
223 B
LLVM
; 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 addrspace(1)* @g
|
|
ret i32 %val
|
|
}
|