mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-23 22:23:00 +00:00
Move register allocation preference (or hint) from LiveInterval to MachineRegisterInfo. This allows more passes to set them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@73346 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -896,7 +896,7 @@ LiveInterval* LiveIntervals::createInterval(unsigned reg) {
|
||||
/// managing the allocated memory.
|
||||
LiveInterval* LiveIntervals::dupInterval(LiveInterval *li) {
|
||||
LiveInterval *NewLI = createInterval(li->reg);
|
||||
NewLI->Copy(*li, getVNInfoAllocator());
|
||||
NewLI->Copy(*li, mri_, getVNInfoAllocator());
|
||||
return NewLI;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user