summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/GC
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/test/CodeGen/X86/GC')
-rw-r--r--llvm/test/CodeGen/X86/GC/badwriteproto.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/CodeGen/X86/GC/badwriteproto.ll b/llvm/test/CodeGen/X86/GC/badwriteproto.ll
index 73c92d25e00..2544e40f81f 100644
--- a/llvm/test/CodeGen/X86/GC/badwriteproto.ll
+++ b/llvm/test/CodeGen/X86/GC/badwriteproto.ll
@@ -7,7 +7,7 @@
declare void @llvm.gcwrite(%list*, %list*, %list**)
define %list* @cons(i32 %hd, %list* %tl) gc "example" {
- %tmp = call i8* @gcalloc(i32 bitcast(%list* getelementptr(%list* null, i32 1) to i32))
+ %tmp = call i8* @gcalloc(i32 bitcast(%list* getelementptr(%list, %list* null, i32 1) to i32))
%cell = bitcast i8* %tmp to %list*
%hd.ptr = getelementptr %list, %list* %cell, i32 0, i32 0
OpenPOWER on IntegriCloud