[llvm-commits] CVS: llvm/include/llvm/CodeGen/MachineInstr.h
Evan Cheng
evan.cheng at apple.com
Mon Mar 26 15:38:04 PDT 2007
Changes in directory llvm/include/llvm/CodeGen:
MachineInstr.h updated: 1.214 -> 1.215
---
Log message:
Change findRegisterUseOperand() to return operand index instead.
---
Diffs of the changes: (+3 -3)
MachineInstr.h | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
Index: llvm/include/llvm/CodeGen/MachineInstr.h
diff -u llvm/include/llvm/CodeGen/MachineInstr.h:1.214 llvm/include/llvm/CodeGen/MachineInstr.h:1.215
--- llvm/include/llvm/CodeGen/MachineInstr.h:1.214 Tue Feb 27 15:06:57 2007
+++ llvm/include/llvm/CodeGen/MachineInstr.h Mon Mar 26 17:37:45 2007
@@ -390,10 +390,10 @@
delete removeFromParent();
}
- /// findRegisterUseOperand() - Returns the MachineOperand that is a use of
- /// the specific register or NULL if it is not found. It further tightening
+ /// findRegisterUseOperand() - Returns the operand index that is a use of
+ /// the specific register or -1 if it is not found. It further tightening
/// the search criteria to a use that kills the register if isKill is true.
- MachineOperand *findRegisterUseOperand(unsigned Reg, bool isKill = false);
+ int findRegisterUseOperand(unsigned Reg, bool isKill = false);
/// findRegisterDefOperand() - Returns the MachineOperand that is a def of
/// the specific register or NULL if it is not found.
More information about the llvm-commits
mailing list