bolt/deps/llvm-18.1.8/llvm/test/CodeGen/X86/GC/fat.ll

10 lines
214 B
LLVM
Raw Normal View History

2025-02-14 19:21:04 +01:00
; RUN: not llvm-as < %s > /dev/null 2>&1
declare void @llvm.gcroot(ptr, ptr) nounwind
define void @f() gc "x" {
%st = alloca { ptr, i1 } ; <ptr> [#uses=1]
call void @llvm.gcroot(ptr %st, ptr null)
ret void
}