[all-commits] [llvm/llvm-project] 496e0a: [InlineSpiller] Relax re-materialization restricti...

serguei-katkov via All-commits all-commits at lists.llvm.org
Sun Mar 1 21:00:47 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 496e0a99c7606837118588d4f379c3108474f1fa
      https://github.com/llvm/llvm-project/commit/496e0a99c7606837118588d4f379c3108474f1fa
  Author: Serguei Katkov <serguei.katkov at azul.com>
  Date:   2020-03-02 (Mon, 02 Mar 2020)

  Changed paths:
    M llvm/lib/CodeGen/InlineSpiller.cpp
    A llvm/test/CodeGen/X86/statepoint-live-in-remat.ll

  Log Message:
  -----------
  [InlineSpiller] Relax re-materialization restriction for statepoint

We should be careful to allow count of re-materialization of operands to be less
then number of physical registers.

STATEPOINT instruction has a variable number of operands and potentially very big.
So re-materialization for all operands is disabled at the moment if restrict-statepoint-remat is true.

The patch relaxes the re-materialization restriction for STATEPOINT instruction allowing it for
fixed operands. Specifically it is about call target.

Reviewers: reames
Reviewed By: reames
Subscribers: llvm-commits, qcolombet, hiraditya
Differential Revision: https://reviews.llvm.org/D75335




More information about the All-commits mailing list