[NFC][Regalloc] VirtRegAuxInfo::Hint does not need to be a field
authorMircea Trofin <mtrofin@google.com>
Fri, 9 Oct 2020 20:35:56 +0000 (13:35 -0700)
committerMircea Trofin <mtrofin@google.com>
Fri, 9 Oct 2020 20:42:23 +0000 (13:42 -0700)
commitc11c20fb0036bc8f69b2028422f050ee66acbb64
tree68b43d73ab5d752d4455870d304a5fc700cd5c93
parent6fd994b4b7acc292f34ea7da76193ca15521d4a6
[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).
llvm/include/llvm/CodeGen/CalcSpillWeights.h
llvm/lib/CodeGen/CalcSpillWeights.cpp