Add a "gc-transition" operand bundle
Summary:
This adds a new kind of operand bundle to LLVM denoted by the
`"gc-transition"` tag. Inputs to `"gc-transition"` operand bundle are
lowered into the "transition args" section of `gc.statepoint` by
`RewriteStatepointsForGC`.
This removes the last bit of functionality that was unsupported in the
deopt bundle based code path in `RewriteStatepointsForGC`.
Reviewers: pgavlin, JosephTremoulet, reames
Subscribers: sanjoy, mcrosier, llvm-commits
Differential Revision: http://reviews.llvm.org/D16342
llvm-svn: 258338
diff --git a/llvm/docs/Statepoints.rst b/llvm/docs/Statepoints.rst
index 084aa62..b0e4f81 100644
--- a/llvm/docs/Statepoints.rst
+++ b/llvm/docs/Statepoints.rst
@@ -251,7 +251,9 @@
Note that in this example %p and %obj.relocate are the same address and we
could replace one with the other, potentially removing the derived pointer
-from the live set at the safepoint entirely.
+from the live set at the safepoint entirely.
+
+.. _gc_transition_args:
GC Transitions
^^^^^^^^^^^^^^^^^^