Do not insert physical regsiters into the regsUsed set

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7617 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner committed 2003-08-05 21:55:20 +00:00
1 parent cb048097c9
commit 610234d5c9
2 files changed
-5

No files matched your search

-2
View File
@@ -530,7 +530,6 @@ public:
"Trying to add an operand to a machine instr that is already done!");
operands.push_back(MachineOperand(reg, MachineOperand::MO_MachineRegister,
isDef ? MOTy::Def : MOTy::Use));
insertUsedReg(reg);
}
/// addMachineRegOperand - Add a virtual register operand to this MachineInstr
@@ -540,7 +539,6 @@ public:
"Trying to add an operand to a machine instr that is already done!");
operands.push_back(MachineOperand(reg, MachineOperand::MO_MachineRegister,
UTy));
insertUsedReg(reg);
}
/// addZeroExtImmOperand - Add a zero extended constant argument to the