[llvm-commits] CVS: llvm/lib/CodeGen/LiveInterval.cpp

Chris Lattner lattner at cs.uiuc.edu
Thu Oct 20 09:57:00 PDT 2005



Changes in directory llvm/lib/CodeGen:

LiveInterval.cpp updated: 1.24 -> 1.25
---
Log message:

Fix order of eval problem from when I refactored this into a function.


---
Diffs of the changes:  (+2 -3)

 LiveInterval.cpp |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)


Index: llvm/lib/CodeGen/LiveInterval.cpp
diff -u llvm/lib/CodeGen/LiveInterval.cpp:1.24 llvm/lib/CodeGen/LiveInterval.cpp:1.25
--- llvm/lib/CodeGen/LiveInterval.cpp:1.24	Thu Oct 20 02:39:25 2005
+++ llvm/lib/CodeGen/LiveInterval.cpp	Thu Oct 20 11:56:40 2005
@@ -111,12 +111,11 @@
     if (I.ValId != iIdx || J.ValId != jIdx)
       return true;
   } else if (I.start < J.start) {
-    if (I.end > J.start && I.ValId != iIdx || J.ValId != jIdx) {
+    if (I.end > J.start && (I.ValId != iIdx || J.ValId != jIdx)) {
       return true;
     }
   } else {
-    if (J.end > I.start &&
-        I.ValId != iIdx || J.ValId != jIdx)
+    if (J.end > I.start && (I.ValId != iIdx || J.ValId != jIdx))
       return true;
   }
   






More information about the llvm-commits mailing list