[llvm-commits] CVS: llvm/lib/CodeGen/MachineInstr.cpp
Chris Lattner
lattner at cs.uiuc.edu
Tue Aug 5 16:56:00 PDT 2003
Changes in directory llvm/lib/CodeGen:
MachineInstr.cpp updated: 1.76 -> 1.77
---
Log message:
Do not insert physical regsiters into the regsUsed set
---
Diffs of the changes:
Index: llvm/lib/CodeGen/MachineInstr.cpp
diff -u llvm/lib/CodeGen/MachineInstr.cpp:1.76 llvm/lib/CodeGen/MachineInstr.cpp:1.77
--- llvm/lib/CodeGen/MachineInstr.cpp:1.76 Tue Aug 5 11:58:46 2003
+++ llvm/lib/CodeGen/MachineInstr.cpp Tue Aug 5 16:55:20 2003
@@ -111,7 +111,6 @@
operands[i].opType = MachineOperand::MO_MachineRegister;
operands[i].value = NULL;
operands[i].regNum = regNum;
- insertUsedReg(regNum);
}
void
@@ -119,14 +118,12 @@
{
assert(i < getNumOperands()); // must be explicit op
operands[i].setRegForValue(regNum);
- insertUsedReg(regNum);
}
void
MachineInstr::SetRegForImplicitRef(unsigned i, int regNum)
{
getImplicitOp(i).setRegForValue(regNum);
- insertUsedReg(regNum);
}
More information about the llvm-commits
mailing list