mirror of
https://github.com/RPCSX/llvm.git
synced 2025-01-06 12:04:52 +00:00
b31edea184
Summary: Previously we'd just silently skip these. Reviewers: tra, jholewinski Subscribers: llvm-commits, jhen, echristo, Differential Revision: http://reviews.llvm.org/D16739 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@259279 91177308-0d34-0410-b5e6-96231b3b80d8
6 lines
256 B
LLVM
6 lines
256 B
LLVM
; 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, void ()*, i8* }] []
|
|
@llvm.global_dtors = appending global [0 x { i32, void ()*, i8* }] []
|