bolt/deps/llvm-18.1.8/llvm/test/CodeGen/NVPTX/global-ctor-empty.ll
2025-02-14 19:21:04 +01:00

5 lines
246 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, ptr, ptr }] []
@llvm.global_dtors = appending global [0 x { i32, ptr, ptr }] []