mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-19 08:35:45 +00:00
Give SplitAnalysis a VRM member to access VirtRegMap::getOriginal().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@126005 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -37,13 +37,14 @@ AllowSplit("spiller-splits-edges",
|
||||
// Split Analysis
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
SplitAnalysis::SplitAnalysis(const MachineFunction &mf,
|
||||
SplitAnalysis::SplitAnalysis(const VirtRegMap &vrm,
|
||||
const LiveIntervals &lis,
|
||||
const MachineLoopInfo &mli)
|
||||
: MF(mf),
|
||||
: MF(vrm.getMachineFunction()),
|
||||
VRM(vrm),
|
||||
LIS(lis),
|
||||
Loops(mli),
|
||||
TII(*mf.getTarget().getInstrInfo()),
|
||||
TII(*MF.getTarget().getInstrInfo()),
|
||||
CurLI(0) {}
|
||||
|
||||
void SplitAnalysis::clear() {
|
||||
|
||||
Reference in New Issue
Block a user