[PATCH] D97554: [Statepoint Lowering] Consider dead deopt gc values together with other gc values

Serguei Katkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 26 06:36:51 PST 2021


skatkov created this revision.
skatkov added reviewers: reames, dantrushin.
Herald added subscribers: pengfei, hiraditya.
skatkov requested review of this revision.
Herald added a project: LLVM.

Currently dead gc value mentioned in the deopt section are not listed in gc section
and so are processed separately.
With this CL all deopt gc values are considered as base pointers and processed in the
same way as other gc values.

The fact that deopt gc pointer is a base pointer was used all the time but
it is explicitly documented here by putting the value in SI.Base.

This is an alternative patch for D97108 <https://reviews.llvm.org/D97108>.


https://reviews.llvm.org/D97554

Files:
  llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
  llvm/test/CodeGen/X86/statepoint-vreg-details.ll
  llvm/test/CodeGen/X86/statepoint-vreg-invoke.ll
  llvm/test/CodeGen/X86/statepoint-vreg.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97554.326680.patch
Type: text/x-patch
Size: 8578 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210226/22d454b4/attachment.bin>


More information about the llvm-commits mailing list