[PATCH] D88713: [NFC][regalloc] Model weight normalization as a virtual
Mircea Trofin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Oct 1 16:55:33 PDT 2020
mtrofin created this revision.
mtrofin added a reviewer: qcolombet.
Herald added subscribers: llvm-commits, hiraditya, MatzeB.
Herald added a project: LLVM.
mtrofin requested review of this revision.
Continuing from D88499 <https://reviews.llvm.org/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.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D88713
Files:
llvm/include/llvm/CodeGen/CalcSpillWeights.h
llvm/lib/CodeGen/RegAllocPBQP.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88713.295694.patch
Type: text/x-patch
Size: 5182 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201001/c7cd1aff/attachment.bin>
More information about the llvm-commits
mailing list