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 | 8c9c6d71ed626d8056e19d1d17416a667bf3d6dd (patch) | |
tree | c358f1f1df8d4079df9b95cf86dbc4ac9616abd7 /llvm/lib/CodeGen/LiveIntervalAnalysis.cpp | |
parent | f5bebe83a553bf1c94c6f07896a5f10d73c22c16 (diff) | |
download | bcm5719-llvm-8c9c6d71ed626d8056e19d1d17416a667bf3d6dd.tar.gz bcm5719-llvm-8c9c6d71ed626d8056e19d1d17416a667bf3d6dd.zip |
Add implicit def / use operands to MachineInstr.
llvm-svn: 31633
Diffstat (limited to 'llvm/lib/CodeGen/LiveIntervalAnalysis.cpp')
-rw-r--r-- | llvm/lib/CodeGen/LiveIntervalAnalysis.cpp | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp b/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp index 472a8d71361..730ad239141 100644 --- a/llvm/lib/CodeGen/LiveIntervalAnalysis.cpp +++ b/llvm/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 |