diff options
author | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-11-13 01:23:30 +0000 |
---|---|---|
committer | Jakob Stoklund Olesen <stoklund@2pi.dk> | 2011-11-13 01:23:30 +0000 |
commit | cb39064e7aee2273da1d00e6b800db84ddc34b6b (patch) | |
tree | 1ca6f3f186b2e460d55c43e4a05ddb509e3b4dbf /lib/CodeGen/Spiller.cpp | |
parent | 3cb0b0edd9ec537a9415eaff97edd042a07fd16e (diff) | |
download | external_llvm-cb39064e7aee2273da1d00e6b800db84ddc34b6b.zip external_llvm-cb39064e7aee2273da1d00e6b800db84ddc34b6b.tar.gz external_llvm-cb39064e7aee2273da1d00e6b800db84ddc34b6b.tar.bz2 |
Stop tracking spill slot uses in VirtRegMap.
Nobody cared, StackSlotColoring scans the instructions to find used stack
slots.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@144485 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/Spiller.cpp')
-rw-r--r-- | lib/CodeGen/Spiller.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/CodeGen/Spiller.cpp b/lib/CodeGen/Spiller.cpp index 6efdd5b..4a170bc 100644 --- a/lib/CodeGen/Spiller.cpp +++ b/lib/CodeGen/Spiller.cpp @@ -140,7 +140,6 @@ protected: MachineInstr *loadInstr(prior(miItr)); SlotIndex loadIndex = lis->InsertMachineInstrInMaps(loadInstr).getDefIndex(); - vrm->addSpillSlotUse(ss, loadInstr); SlotIndex endIndex = loadIndex.getNextIndex(); VNInfo *loadVNI = newLI->getNextValue(loadIndex, 0, lis->getVNInfoAllocator()); @@ -154,7 +153,6 @@ protected: MachineInstr *storeInstr(llvm::next(miItr)); SlotIndex storeIndex = lis->InsertMachineInstrInMaps(storeInstr).getDefIndex(); - vrm->addSpillSlotUse(ss, storeInstr); SlotIndex beginIndex = storeIndex.getPrevIndex(); VNInfo *storeVNI = newLI->getNextValue(beginIndex, 0, lis->getVNInfoAllocator()); |