[llvm-commits] [llvm] r41668 - in /llvm/trunk: lib/Transforms/Scalar/LowerGC.cpp test/CodeGen/Generic/GC/lower_gcroot.ll

Gordon Henriksen gordonhenriksen at mac.com
Fri Aug 31 22:15:47 PDT 2007


Evan,

> +	call void @llvm.gcroot( %Env* null, %Env null )

This is invalid. The first argument to gcroot must be an alloca, not  
any other value.

I'll see what I can do about having the validator look at GC  
intrinsics, but here's a fixed test case.

— Gordon

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gcroottest.patch
Type: application/octet-stream
Size: 481 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20070901/f6de68ae/attachment.obj>


More information about the llvm-commits mailing list