[all-commits] [llvm/llvm-project] 82ebbc: [NFC][regalloc] Model weight normalization as a vi...

Mircea Trofin via All-commits all-commits at lists.llvm.org
Mon Oct 5 11:42:42 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 82ebbcfb059ba755ce4ae7711a27205fbe443990
      https://github.com/llvm/llvm-project/commit/82ebbcfb059ba755ce4ae7711a27205fbe443990
  Author: Mircea Trofin <mtrofin at google.com>
  Date:   2020-10-05 (Mon, 05 Oct 2020)

  Changed paths:
    M llvm/include/llvm/CodeGen/CalcSpillWeights.h
    M llvm/lib/CodeGen/RegAllocPBQP.cpp

  Log Message:
  -----------
  [NFC][regalloc] Model weight normalization as a virtual

Continuing from D88499, we can now model the normalization function as a
virtual member of VirtRegAuxInfo. Note that the default
(normalizeSpillWeight) is also used stand-alone in RAGreedy.

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




More information about the All-commits mailing list