[PATCH] D97541: [STATEPOINT LOWERING] Require spill of deopt value in case its type is not legal

Serguei Katkov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 26 03:53: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.

If the type of the deopt operand has an illegal type and we want to use
register for it then it needs to be legalized.
This is not supported currently by legalizer and it is not actually clear how to
legalize this type of values.

Instead we just spill such values and use spill slot location in statepoint.

Originally tests were created by Philip Reames.


https://reviews.llvm.org/D97541

Files:
  llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
  llvm/test/CodeGen/X86/statepoint-deopt-lowering.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D97541.326649.patch
Type: text/x-patch
Size: 8114 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210226/791933a7/attachment.bin>


More information about the llvm-commits mailing list