This change is a first step towards lowering of an invoke statepoints. It moves statepoint lowering in a separate function 'LowerStatepoint' which uses ImmutableStatepoint instead of a CallInst. Also related utility functions are changed to receive ImmutableCallSite.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM w/comments addressed. Please make sure to rebase carefully since I saw at least one cleanup patch does this today.
include/llvm/IR/Statepoint.h | ||
---|---|---|
20 ↗ | (On Diff #20289) | Remove this please. |
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.h | ||
665 ↗ | (On Diff #20289) | Comment isn't particularly helpful. |
lib/CodeGen/SelectionDAG/StatepointLowering.cpp | ||
307 ↗ | (On Diff #20289) | Is this over 80 lines? I can't tell in the diff. If so, reformat. |