summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-03-11 21:34:46 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-03-11 21:34:46 +0000
commita3891365b52d3b7416d6d861a0aca2e64b72d212 (patch)
tree96affeea5b024fcaa61e2e56b815e1bc59da56fd /llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
parent44b4c07cd1e39acc1967e41b4b2620f809be5ba4 (diff)
downloadbcm5719-llvm-a3891365b52d3b7416d6d861a0aca2e64b72d212.tar.gz
bcm5719-llvm-a3891365b52d3b7416d6d861a0aca2e64b72d212.zip
Transfer physical register spill info when load / store folding happens.
llvm-svn: 48246
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveIntervalAnalysis.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
index 79318043a62..d7c5544c366 100644
--- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -779,6 +779,7 @@ bool LiveIntervals::tryFoldMemoryOperand(MachineInstr* &MI,
vrm.virtFolded(Reg, MI, fmi, (VirtRegMap::ModRef)MRInfo);
vrm.transferSpillPts(MI, fmi);
vrm.transferRestorePts(MI, fmi);
+ vrm.transferEmergencySpills(MI, fmi);
mi2iMap_.erase(MI);
i2miMap_[InstrIdx /InstrSlots::NUM] = fmi;
mi2iMap_[fmi] = InstrIdx;
OpenPOWER on IntegriCloud