summaryrefslogtreecommitdiff
path: root/include
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
commit610234d5c9582e2645738ad9c347b855962122b7 (patch)
tree2bcb50d6af5e7a0bdc94e576b7e0cd585e2e527d /include
parentcb048097c9db34307ad57d5dc22a7cacf30ac421 (diff)
downloadllvm-610234d5c9582e2645738ad9c347b855962122b7.tar.gz
llvm-610234d5c9582e2645738ad9c347b855962122b7.tar.bz2
llvm-610234d5c9582e2645738ad9c347b855962122b7.tar.xz
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
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/MachineInstr.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/MachineInstr.h b/include/llvm/CodeGen/MachineInstr.h
index d26f676a6e..faa213bf26 100644
--- a/include/llvm/CodeGen/MachineInstr.h
+++ b/include/llvm/CodeGen/MachineInstr.h
@@ -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