[PATCH] D16342: Add a "gc-transition" operand bundle

Sanjoy Das via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 19 18:49:38 PST 2016


sanjoy created this revision.
sanjoy added reviewers: pgavlin, JosephTremoulet, reames.
sanjoy added a subscriber: llvm-commits.
Herald added subscribers: mcrosier, sanjoy.

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`.

The documentation for this operand bundle type is basically a TODO --
I'm hoping someone from the LLILC team can guide me towards what
should be put on the LangRef or add something in a subsequent commit.

http://reviews.llvm.org/D16342

Files:
  docs/LangRef.rst
  include/llvm/IR/LLVMContext.h
  lib/IR/LLVMContext.cpp
  lib/IR/Verifier.cpp
  lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
  test/Transforms/RewriteStatepointsForGC/deopt-bundles/basic.ll
  test/Verifier/operand-bundles.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16342.45334.patch
Type: text/x-patch
Size: 5182 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160120/1157bf13/attachment.bin>


More information about the llvm-commits mailing list