[llvm-commits] CVS: llvm/include/llvm/CodeGen/LiveIntervals.h

Alkis Evlogimenos alkis at cs.uiuc.edu
Fri Jan 23 07:39:07 PST 2004


Changes in directory llvm/include/llvm/CodeGen:

LiveIntervals.h updated: 1.12 -> 1.13

---
Log message:

Fix failing test cases with joined live intervals. It turns out that
when joining we need to check if we overlap with the second interval
or any of its aliases.

Also make joining intervals the default.


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

Index: llvm/include/llvm/CodeGen/LiveIntervals.h
diff -u llvm/include/llvm/CodeGen/LiveIntervals.h:1.12 llvm/include/llvm/CodeGen/LiveIntervals.h:1.13
--- llvm/include/llvm/CodeGen/LiveIntervals.h:1.12	Thu Jan 22 17:08:45 2004
+++ llvm/include/llvm/CodeGen/LiveIntervals.h	Fri Jan 23 07:37:51 2004
@@ -162,6 +162,8 @@
                                        MachineBasicBlock::iterator mi,
                                        unsigned reg);
 
+        bool overlapsAliases(const Interval& lhs, const Interval& rhs) const;
+
         unsigned getInstructionIndex(MachineInstr* instr) const;
 
         void printRegName(unsigned reg) const;





More information about the llvm-commits mailing list