mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-24 23:28:41 +00:00
Refactored the LiveRangeEdit interface so that MachineFunction, TargetInstrInfo, MachineRegisterInfo, LiveIntervals, and VirtRegMap are all passed into the constructor and stored as members instead of passed in to each method.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@153903 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -116,7 +116,7 @@ protected:
|
||||
}
|
||||
|
||||
// Create a new vreg & interval for this instr.
|
||||
LiveInterval *newLI = &LRE.create(*lis, *vrm);
|
||||
LiveInterval *newLI = &LRE.create();
|
||||
newLI->weight = HUGE_VALF;
|
||||
|
||||
// Update the reg operands & kill flags.
|
||||
|
Reference in New Issue
Block a user