[all-commits] [llvm/llvm-project] 06c511: [Statepoint lowering] Require spill of deopt value...

serguei-katkov via All-commits all-commits at lists.llvm.org
Sun Feb 28 19:50:59 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 06c5119c76e9fa4f8be6728ae26832d3ebc70244
      https://github.com/llvm/llvm-project/commit/06c5119c76e9fa4f8be6728ae26832d3ebc70244
  Author: Serguei Katkov <serguei.katkov at azul.com>
  Date:   2021-03-01 (Mon, 01 Mar 2021)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
    A llvm/test/CodeGen/X86/statepoint-deopt-lowering.ll

  Log Message:
  -----------
  [Statepoint lowering] Require spill of deopt value in case its type is not legal

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.

Reviewers: reames, dantrushin
Reviewed By: reames
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D97541




More information about the All-commits mailing list