CodeGen peephole: fold redundant phys reg copies
[oota-llvm.git] / test / CodeGen / X86 / GC / lower_gcroot.ll
1 ; RUN: llc < %s
2 ; REQUIRES: default_triple
3
4         %Env = type i8*
5
6 define void @.main(%Env) gc "shadow-stack" {
7         %Root = alloca %Env
8         call void @llvm.gcroot( %Env* %Root, %Env null )
9         unreachable
10 }
11
12 declare void @llvm.gcroot(%Env*, %Env)