mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-27 04:18:42 +00:00
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:
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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user