[PATCH] D14158: [StatepointLowering] Remove distinction between call and invoke safepoints

Igor Laevsky via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 28 14:10:37 PDT 2015


igor-laevsky created this revision.
igor-laevsky added reviewers: sanjoy, reames, swaroop.sridhar.
igor-laevsky added a subscriber: llvm-commits.
igor-laevsky set the repository for this revision to rL LLVM.
Herald added a subscriber: sanjoy.

There is no point in having invoke safepoints handled differently than the call safepoints. All relevant decisions could be made by looking at whether or not gc.result and gc.relocate lay in a same basic block. This change will allow to lower call safepoints with relocates and results in a different basic blocks. See test case for example.

Repository:
  rL LLVM

http://reviews.llvm.org/D14158

Files:
  lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
  lib/CodeGen/SelectionDAG/StatepointLowering.cpp
  test/CodeGen/X86/statepoint-call-lowering.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14158.38686.patch
Type: text/x-patch
Size: 5643 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151028/f14fd09a/attachment.bin>


More information about the llvm-commits mailing list