mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-23 00:20:25 +00:00
Add implicit def / use operands to MachineInstr.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@31633 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user