summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2008-01-24 01:10:07 +0000
committerOwen Anderson <resistor@mac.com>2008-01-24 01:10:07 +0000
commit2a8a485630bf9bdcee3c848728d842f494b6ee90 (patch)
tree741e884e4da203062f8159f3a0b1465355d0eae2 /llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
parent4f1da522cadb6a6892bcf2f8c93aa8dd34cf1d25 (diff)
downloadbcm5719-llvm-2a8a485630bf9bdcee3c848728d842f494b6ee90.tar.gz
bcm5719-llvm-2a8a485630bf9bdcee3c848728d842f494b6ee90.zip
Move some functionality for adding flags to MachineInstr's into methods on MachineInstr rather than LiveVariables.
llvm-svn: 46295
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r--llvm/lib/CodeGen/LiveIntervalAnalysis.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
index da76269c68f..5ac8b346012 100644
--- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
+++ b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
@@ -717,7 +717,7 @@ bool LiveIntervals::tryFoldMemoryOperand(MachineInstr* &MI,
if (lv_)
lv_->instructionChanged(MI, fmi);
else
- LiveVariables::transferKillDeadInfo(MI, fmi, mri_);
+ fmi->copyKillDeadInfo(MI, mri_);
MachineBasicBlock &MBB = *MI->getParent();
if (isSS && !mf_->getFrameInfo()->isImmutableObjectIndex(Slot))
vrm.virtFolded(Reg, MI, fmi, (VirtRegMap::ModRef)MRInfo);
OpenPOWER on IntegriCloud