llvm.org GIT mirror llvm / 8c33da5 test / CodeGen / Generic / GC / lower_gcroot.ll
8c33da5

Tree @8c33da5 (Download .tar.gz)

lower_gcroot.ll @8c33da5raw · history · blame

; RUN: llvm-as < %s | llc

	%Env = type opaque*

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

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