llvm.org GIT mirror llvm / release_34 test / CodeGen / X86 / GC / lower_gcroot.ll
release_34

Tree @release_34 (Download .tar.gz)

lower_gcroot.ll @release_34raw · history · blame

; RUN: llc < %s

	%Env = type i8*

define void @.main(%Env) gc "shadow-stack" {
	%Root = alloca %Env
	call void @llvm.gcroot( %Env* %Root, %Env null )
	unreachable
}

declare void @llvm.gcroot(%Env*, %Env)