[all-commits] [llvm/llvm-project] 2b96dc: [Statepoints] Allow deopt GC pointer on VReg if gc...

dantrushin via All-commits all-commits at lists.llvm.org
Sat Oct 10 00:59:08 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2b96dcebfae65485859d956954f10f409abaae79
      https://github.com/llvm/llvm-project/commit/2b96dcebfae65485859d956954f10f409abaae79
  Author: Denis Antrushin <dantrushin at gmail.com>
  Date:   2020-10-10 (Sat, 10 Oct 2020)

  Changed paths:
    M llvm/lib/CodeGen/SelectionDAG/StatepointLowering.cpp
    M llvm/test/CodeGen/X86/statepoint-vreg-details.ll

  Log Message:
  -----------
  [Statepoints] Allow deopt GC pointer on VReg if gc-live bundle is empty.

Currently we allow passing pointers from deopt bundle on VReg only if
they were seen in list of gc-live pointers passed on VRegs.
This means that for the case of empty gc-live bundle we spill deopt
bundle's pointers. This change allows lowering deopt pointers to VRegs
in case of empty gc-live bundle. In case of non-empty gc-live bundle,
behavior does not change.

Reviewed By: skatkov

Differential Revision: https://reviews.llvm.org/D88999




More information about the All-commits mailing list