aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-02-19 03:20:00 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-02-19 03:20:00 +0000
commitda81bf4d3e4080fb8e46942f8f24a8a8996b5c58 (patch)
tree0930fdd428a5bf282750a1532317f4751b1ba535 /llvm/lib/CodeGen/MachineInstr.cpp
parent577f4bd78c68a77075d2e0645f09f3f36a2bbcbc (diff)
downloadllvm-da81bf4d3e4080fb8e46942f8f24a8a8996b5c58.zip
llvm-da81bf4d3e4080fb8e46942f8f24a8a8996b5c58.tar.gz
llvm-da81bf4d3e4080fb8e46942f8f24a8a8996b5c58.tar.bz2
For PR1207:
Revert patches that caused the problem. Evan, please investigate and reapply when you've discovered the problem. llvm-svn: 34399
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
-rw-r--r--llvm/lib/CodeGen/MachineInstr.cpp11
1 files changed, 0 insertions, 11 deletions
diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp
index 01a3e3e..a393133 100644
--- a/llvm/lib/CodeGen/MachineInstr.cpp
+++ b/llvm/lib/CodeGen/MachineInstr.cpp
@@ -180,17 +180,6 @@ MachineOperand *MachineInstr::findRegisterUseOperand(unsigned Reg) {
return NULL;
}
-/// findRegisterDefOperand() - Returns the MachineOperand that is a def of
-/// the specific register or NULL if it is not found.
-MachineOperand *MachineInstr::findRegisterDefOperand(unsigned Reg) {
- for (unsigned i = 0, e = getNumOperands(); i != e; ++i) {
- MachineOperand &MO = getOperand(i);
- if (MO.isReg() && MO.isDef() && MO.getReg() == Reg)
- return &MO;
- }
- return NULL;
-}
-
/// copyKillDeadInfo - Copies kill / dead operand properties from MI.
///
void MachineInstr::copyKillDeadInfo(const MachineInstr *MI) {