[PATCH] D11550: [Statepoints] Let patchable statepoints have a symbolic call target.
Sanjoy Das
sanjoy at playingwithpointers.com
Mon Jul 27 19:43:14 PDT 2015
sanjoy created this revision.
sanjoy added reviewers: reames, swaroop.sridhar.
sanjoy added a subscriber: llvm-commits.
As added initially, statepoints required their call targets to be a
constant pointer null if ``numPatchBytes`` was non-zero. This turns out
to be a ergonomic problem, since there is no way to mark patchable
statepoints as calling a readable symbolic value.
This change remove the restriction of requiring ``null`` call targets
for patchable statepoints, and changes PlaceSafepoints to maintain the
symbolic call target through its transformation.
http://reviews.llvm.org/D11550
Files:
docs/Statepoints.rst
lib/CodeGen/SelectionDAG/StatepointLowering.cpp
lib/IR/Verifier.cpp
lib/Transforms/Scalar/PlaceSafepoints.cpp
test/Transforms/PlaceSafepoints/patchable-statepoints.ll
test/Verifier/invalid-patchable-statepoint.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D11550.30775.patch
Type: text/x-patch
Size: 5671 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150728/61dd6d60/attachment.bin>
More information about the llvm-commits
mailing list