diff options
author | Evan Cheng <evan.cheng@apple.com> | 2006-11-10 08:43:01 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2006-11-10 08:43:01 +0000 |
commit | 438f7bc67cf235ccee7e6f7ac7f4ae2186eb8020 (patch) | |
tree | 9403ab5aed57a845466b76158b3286967ef517fe /lib/CodeGen/LiveIntervalAnalysis.cpp | |
parent | e7680cef84c42bc2ee68904bc2bd0b30a312da08 (diff) |
Add implicit def / use operands to MachineInstr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31633 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r-- | lib/CodeGen/LiveIntervalAnalysis.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/lib/CodeGen/LiveIntervalAnalysis.cpp b/lib/CodeGen/LiveIntervalAnalysis.cpp index 472a8d7136..730ad23914 100644 --- a/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/lib/CodeGen/LiveIntervalAnalysis.cpp @@ -658,16 +658,9 @@ void LiveIntervals::computeIntervals() { } for (; MI != miEnd; ++MI) { - const TargetInstrDescriptor &TID = tii_->get(MI->getOpcode()); DEBUG(std::cerr << MIIndex << "\t" << *MI); - - // Handle implicit defs. - if (TID.ImplicitDefs) { - for (const unsigned *ImpDef = TID.ImplicitDefs; *ImpDef; ++ImpDef) - handleRegisterDef(MBB, MI, MIIndex, *ImpDef); - } - // Handle explicit defs. + // Handle defs. for (int i = MI->getNumOperands() - 1; i >= 0; --i) { MachineOperand &MO = MI->getOperand(i); // handle register defs - build intervals |