[llvm-commits] CVS: llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
Chris Lattner
lattner at cs.uiuc.edu
Mon Jan 9 21:42:12 PST 2006
Changes in directory llvm/lib/CodeGen:
LiveIntervalAnalysis.cpp updated: 1.152 -> 1.153
---
Log message:
Minor cleanup, no functionality change for current targets
---
Diffs of the changes: (+2 -1)
LiveIntervalAnalysis.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletion(-)
Index: llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
diff -u llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.152 llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.153
--- llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.152 Tue Jan 3 01:41:37 2006
+++ llvm/lib/CodeGen/LiveIntervalAnalysis.cpp Mon Jan 9 23:41:59 2006
@@ -585,7 +585,8 @@
handleVirtualRegisterDef(MBB, MI, getOrCreateInterval(reg));
else if (allocatableRegs_[reg]) {
unsigned SrcReg = 0, DestReg = 0;
- bool IsMove = tii_->isMoveInstr(*MI, SrcReg, DestReg);
+ if (!tii_->isMoveInstr(*MI, SrcReg, DestReg))
+ SrcReg = DestReg = 0;
handlePhysicalRegisterDef(MBB, MI, getOrCreateInterval(reg),
SrcReg, DestReg);
More information about the llvm-commits
mailing list