[all-commits] [llvm/llvm-project] c11c20: [NFC][Regalloc] VirtRegAuxInfo::Hint does not need...

Mircea Trofin via All-commits all-commits at lists.llvm.org
Fri Oct 9 13:42:50 PDT 2020


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

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

  Log Message:
  -----------
  [NFC][Regalloc] VirtRegAuxInfo::Hint does not need to be a field

It is only used in weightCalcHelper, and cleared upon its finishing its
job there.

The patch further cleans up style guide discrepancies, and simplifies
CopyHint by removing duplicate 'IsPhys' information (it's what the Reg
field would report).




More information about the All-commits mailing list