mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-09-16 14:26:17 +00:00
Fixed some tests to avoid LiveIntervals::getInstructionFromIndex(..) overhead where possible. Thanks to Jakob for the suggestions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114798 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -282,7 +282,7 @@ void InlineSpiller::reMaterializeAll() {
|
||||
lis_.RemoveMachineInstrFromMaps(DefMI);
|
||||
vrm_.RemoveMachineInstrFromMaps(DefMI);
|
||||
DefMI->eraseFromParent();
|
||||
VNI->def = lis_.getZeroIndex();
|
||||
VNI->def = SlotIndex();
|
||||
anyRemoved = true;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user