[all-commits] [llvm/llvm-project] cf0d34: [GreedyRA ORE] Separate Folder Reloads and Zero Co...

serguei-katkov via All-commits all-commits at lists.llvm.org
Wed Apr 14 00:26:01 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cf0d3477aaf5c1d1b11685b852863006fb2d8d9d
      https://github.com/llvm/llvm-project/commit/cf0d3477aaf5c1d1b11685b852863006fb2d8d9d
  Author: Serguei Katkov <serguei.katkov at azul.com>
  Date:   2021-04-14 (Wed, 14 Apr 2021)

  Changed paths:
    M llvm/lib/CodeGen/RegAllocGreedy.cpp
    M llvm/test/CodeGen/X86/statepoint-ra.ll

  Log Message:
  -----------
  [GreedyRA ORE] Separate Folder Reloads and Zero Cost Folder Reloads

Patchpoint instructions have operands which is actually zero cost
(or the same as register) to use the value from the stack.
In terms of statistic it makes same to separate them.

Move from computation instructions related to stack spill/reload to
number of stack slot referenced.

Reviewers: reames, MatzeB, anemet, thegameg
Reviewed By: reames
Subscribers: llvm-commits
Differential Revision: https://reviews.llvm.org/D100016




More information about the All-commits mailing list