summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/Generic
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/Generic')
-rw-r--r--llvm/test/CodeGen/Generic/GC/lower_gcroot.ll3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/Generic/GC/lower_gcroot.ll b/llvm/test/CodeGen/Generic/GC/lower_gcroot.ll
index 3a3abac2585..2dbbc83569f 100644
--- a/llvm/test/CodeGen/Generic/GC/lower_gcroot.ll
+++ b/llvm/test/CodeGen/Generic/GC/lower_gcroot.ll
@@ -3,7 +3,8 @@
%Env = type opaque*
define void @.main(%Env) {
- call void @llvm.gcroot( %Env* null, %Env null )
+ %Root = alloca %Env
+ call void @llvm.gcroot( %Env* %Root, %Env null )
unreachable
}
OpenPOWER on IntegriCloud