[PATCH] statepoint-call-lowering: use statepoint-example gc
Ramkumar Ramachandra
artagnon at gmail.com
Thu Jan 15 10:03:48 PST 2015
================
Comment at: test/CodeGen/X86/statepoint-call-lowering.ll:47
@@ +46,3 @@
+ %safepoint_token = tail call i32 (i32 addrspace(1)* ()*, i32, i32, ...)* @llvm.experimental.gc.statepoint.p0f_p1i32f(i32 addrspace(1)* ()* @return_i32ptr, i32 0, i32 0, i32 0)
+ %call1 = call i32 addrspace(1)* @llvm.experimental.gc.result.ptr.p1i32(i32 %safepoint_token)
+ ret i32 addrspace(1)* %call1
----------------
reames wrote:
> FYI, it should only be the pointers that are being relocated that need updated, not the return value of the function.
Ah, result of a mechanical replacement. Will fix before committing.
http://reviews.llvm.org/D7000
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list