1 ; RUN: llc < %s -march=x86 | \
2 ; RUN: ignore grep {movl..0} | count 0
4 %struct.obj = type { i8*, %struct.obj* }
6 declare void @g() gc "shadow-stack"
8 define void @f(i8* %o) gc "shadow-stack" {
11 call void @llvm.gcroot(i8** %root, i8* null)
12 store i8* %o, i8** %root
17 declare void @llvm.gcroot(i8**, i8*)