diff options
author | Owen Anderson <resistor@mac.com> | 2008-01-24 01:10:07 +0000 |
---|---|---|
committer | Owen Anderson <resistor@mac.com> | 2008-01-24 01:10:07 +0000 |
commit | b487e7215c4f70f3d98f8fbc0a11eb119afc1f37 (patch) | |
tree | c707073b206365f8422c7ae4d64d3e02b802c910 /lib/CodeGen/LiveIntervalAnalysis.cpp | |
parent | 3ae054385cfe9f2fcef2d77f26839615b1d3e48b (diff) |
Move some functionality for adding flags to MachineInstr's into methods on MachineInstr rather than LiveVariables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@46295 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r-- | lib/CodeGen/LiveIntervalAnalysis.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index da76269c68..5ac8b34601 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/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); |