[PATCH] D97108: [Statepoint Lowering] Allow dead gc pointer from deopt section to be on register.

Serguei Katkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 19 21:08:22 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 if gc value used in deopt section is not mentioned in gc section
its lowering requires spill.

The patch introduces the option to allow lowering such value on register.
Option is off by default, so current behavior is not changed.


https://reviews.llvm.org/D97108

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97108.325149.patch
Type: text/x-patch
Size: 6244 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210220/354cc607/attachment.bin>


More information about the llvm-commits mailing list