[NFC][Regalloc] Share the VirtRegAuxInfo object with LiveRangeEdit
authorMircea Trofin <mtrofin@google.com>
Wed, 17 Feb 2021 21:32:26 +0000 (13:32 -0800)
committerMircea Trofin <mtrofin@google.com>
Fri, 19 Feb 2021 15:44:28 +0000 (07:44 -0800)
commit82492f24ffa74825cc7990aa7e06b6b0b8c32e81
treeeb14d315f768bd7bf9f78104a78338290293c996
parent3c297a256442fb8363e70ed80407018cded0fcd4
[NFC][Regalloc] Share the VirtRegAuxInfo object with LiveRangeEdit

VirtRegAuxInfo is an extensibility point, so the register allocator's
decision on which implementation to use should be communicated to the
other users - namely, LiveRangeEdit.

Differential Revision: https://reviews.llvm.org/D96898
llvm/include/llvm/CodeGen/LiveRangeEdit.h
llvm/include/llvm/CodeGen/Spiller.h
llvm/lib/CodeGen/InlineSpiller.cpp
llvm/lib/CodeGen/LiveRangeEdit.cpp
llvm/lib/CodeGen/RegAllocBasic.cpp
llvm/lib/CodeGen/RegAllocGreedy.cpp
llvm/lib/CodeGen/RegAllocPBQP.cpp
llvm/lib/CodeGen/SplitKit.cpp
llvm/lib/CodeGen/SplitKit.h