Sign in
llvm
/
llvm-project
/
461274b81d8641eab64d494accddc81d7db8a09e
/
.
/
llvm
/
test
/
CodeGen
/
NVPTX
/
global-ctor-empty.ll
blob: 77eb8714b5a9dda11222aee5e3b2191014d77363 [
file
] [
log
] [
blame
]
; RUN: llc < %s -march=nvptx -mcpu=sm_20 2>&1
; Check that llc doesn't die when given an empty global ctor / dtor.
@llvm.global_ctors
=
appending
global
[
0
x
{
i32
,
ptr
,
ptr
}]
[]
@llvm.global_dtors
=
appending
global
[
0
x
{
i32
,
ptr
,
ptr
}]
[]