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

Attachment: gcroottest.patch
Description: Binary data

_______________________________________________
llvm-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to