summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-05 21:55:20 +0000
committerChris Lattner <sabre@nondot.org>2003-08-05 21:55:20 +0000
commit020b544cbc0603e0506c1713fd29938cb688bdd7 (patch)
treefb2e4ba3ce07311b98eb042de64c502ef66ccce5 /llvm/lib/CodeGen/MachineInstr.cpp
parent1943f88a79259556c89b9a392c15e16db2a09003 (diff)
downloadbcm5719-llvm-020b544cbc0603e0506c1713fd29938cb688bdd7.tar.gz
bcm5719-llvm-020b544cbc0603e0506c1713fd29938cb688bdd7.zip
Do not insert physical regsiters into the regsUsed set
llvm-svn: 7617
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineInstr.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp
index 904a412add7..8678d14e0e5 100644
--- a/llvm/lib/CodeGen/MachineInstr.cpp
+++ b/llvm/lib/CodeGen/MachineInstr.cpp
@@ -111,7 +111,6 @@ void MachineInstr::SetMachineOperandReg(unsigned i, int regNum) {
operands[i].opType = MachineOperand::MO_MachineRegister;
operands[i].value = NULL;
operands[i].regNum = regNum;
- insertUsedReg(regNum);
}
void
@@ -119,14 +118,12 @@ MachineInstr::SetRegForOperand(unsigned i, int regNum)
{
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);
}
OpenPOWER on IntegriCloud