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.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10973 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Alkis Evlogimenos committed 2004-01-23 13:37:51 +00:00
1 parent 954e3164be
commit 79b0c3f0b9
4 files changed
+30 -3

No files matched your search

@@ -162,6 +162,8 @@ namespace llvm {
MachineBasicBlock::iterator mi,
unsigned reg);
bool overlapsAliases(const Interval& lhs, const Interval& rhs) const;
unsigned getInstructionIndex(MachineInstr* instr) const;
void printRegName(unsigned reg) const;
+2
View File
@@ -162,6 +162,8 @@ namespace llvm {
MachineBasicBlock::iterator mi,
unsigned reg);
bool overlapsAliases(const Interval& lhs, const Interval& rhs) const;
unsigned getInstructionIndex(MachineInstr* instr) const;
void printRegName(unsigned reg) const;