[llvm-commits] CVS: llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
Evan Cheng
evan.cheng at apple.com
Sun Mar 18 21:22:53 PDT 2007
Changes in directory llvm/lib/CodeGen:
LiveIntervalAnalysis.cpp updated: 1.223 -> 1.224
---
Log message:
Minor bug fix.
---
Diffs of the changes: (+1 -1)
LiveIntervalAnalysis.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/lib/CodeGen/LiveIntervalAnalysis.cpp
diff -u llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.223 llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.224
--- llvm/lib/CodeGen/LiveIntervalAnalysis.cpp:1.223 Sun Mar 18 04:05:55 2007
+++ llvm/lib/CodeGen/LiveIntervalAnalysis.cpp Sun Mar 18 23:22:35 2007
@@ -937,7 +937,7 @@
// virtual register. Once the coalescing is done, it cannot be broken and
// these are not spillable! If the destination interval uses are far away,
// think twice about coalescing them!
- if (ReduceJoinPhys && !isDead &&
+ if (ReduceJoinPhys && !mopd->isDead() &&
MRegisterInfo::isPhysicalRegister(repSrcReg)) {
// Small function. No need to worry!
unsigned Threshold = allocatableRegs_.count() * 2;
More information about the llvm-commits
mailing list