[all-commits] [llvm/llvm-project] d6de40: [NFC][regalloc] Make VirtRegAuxInfo part of alloca...
Mircea Trofin via All-commits
all-commits at lists.llvm.org
Wed Sep 30 08:13:30 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: d6de40f8865e2c016731f9b63d8a0a218ce1b74f
https://github.com/llvm/llvm-project/commit/d6de40f8865e2c016731f9b63d8a0a218ce1b74f
Author: Mircea Trofin <mtrofin at google.com>
Date: 2020-09-30 (Wed, 30 Sep 2020)
Changed paths:
M llvm/include/llvm/CodeGen/CalcSpillWeights.h
M llvm/lib/CodeGen/CalcSpillWeights.cpp
M llvm/lib/CodeGen/RegAllocBasic.cpp
M llvm/lib/CodeGen/RegAllocGreedy.cpp
M llvm/lib/CodeGen/RegAllocPBQP.cpp
Log Message:
-----------
[NFC][regalloc] Make VirtRegAuxInfo part of allocator state
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.
Differential Revision: https://reviews.llvm.org/D88499
More information about the All-commits
mailing list