[PATCH] statepoint-call-lowering: use statepoint-example gc

Philip Reames listmail at philipreames.com
Thu Jan 15 10:00:10 PST 2015


LGTM


================
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
----------------
FYI, it should only be the pointers that are being relocated that need updated, not the return value of the function.

http://reviews.llvm.org/D7000

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list