[llvm-commits] CVS: llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h
Evan Cheng
evan.cheng at apple.com
Mon Apr 2 11:49:39 PDT 2007
Changes in directory llvm/include/llvm/CodeGen:
LiveIntervalAnalysis.h updated: 1.76 -> 1.77
---
Log message:
Ugh. Copy coalescer does not update register numbers.
---
Diffs of the changes: (+4 -0)
LiveIntervalAnalysis.h | 4 ++++
1 files changed, 4 insertions(+)
Index: llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h
diff -u llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h:1.76 llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h:1.77
--- llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h:1.76 Wed Feb 28 20:03:03 2007
+++ llvm/include/llvm/CodeGen/LiveIntervalAnalysis.h Mon Apr 2 13:49:18 2007
@@ -267,6 +267,10 @@
MachineInstr *lastRegisterUse(unsigned Reg, unsigned Start, unsigned End,
MachineOperand *&MOU);
+ /// findDefOperand - Returns the MachineOperand that is a def of the specific
+ /// register. It returns NULL if the def is not found.
+ MachineOperand *findDefOperand(MachineInstr *MI, unsigned Reg);
+
/// unsetRegisterKill - Unset IsKill property of all uses of the specific
/// register of the specific instruction.
void unsetRegisterKill(MachineInstr *MI, unsigned Reg);
More information about the llvm-commits
mailing list