[PATCH] D88499: [NFC][regalloc] Make VirtRegAuxInfo part of allocator state
Mircea Trofin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Sep 29 09:11:36 PDT 2020
mtrofin created this revision.
mtrofin added a reviewer: wmi.
Herald added subscribers: llvm-commits, hiraditya, qcolombet, MatzeB.
Herald added a project: LLVM.
mtrofin requested review of this revision.
All the state of VRAI is allocator-wide, so we can avoid creating it
every time we need it. In addition, the normalization function is
allocator-specific. In a next change, we can simplify that design in
favor of just having it as a virtual member.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D88499
Files:
llvm/include/llvm/CodeGen/CalcSpillWeights.h
llvm/lib/CodeGen/CalcSpillWeights.cpp
llvm/lib/CodeGen/RegAllocBasic.cpp
llvm/lib/CodeGen/RegAllocGreedy.cpp
llvm/lib/CodeGen/RegAllocPBQP.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D88499.295013.patch
Type: text/x-patch
Size: 6091 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200929/8cbf0811/attachment.bin>
More information about the llvm-commits
mailing list