diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2007-02-19 03:20:00 +0000 |
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2007-02-19 03:20:00 +0000 |
| commit | da81bf4d3e4080fb8e46942f8f24a8a8996b5c58 (patch) | |
| tree | 0930fdd428a5bf282750a1532317f4751b1ba535 /llvm/lib/CodeGen/MachineInstr.cpp | |
| parent | 577f4bd78c68a77075d2e0645f09f3f36a2bbcbc (diff) | |
| download | bcm5719-llvm-da81bf4d3e4080fb8e46942f8f24a8a8996b5c58.tar.gz bcm5719-llvm-da81bf4d3e4080fb8e46942f8f24a8a8996b5c58.zip | |
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.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/llvm/lib/CodeGen/MachineInstr.cpp b/llvm/lib/CodeGen/MachineInstr.cpp index 01a3e3ee381..a39313310c2 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) { |

