diff options
Diffstat (limited to 'llvm/lib/CodeGen')
| -rw-r--r-- | llvm/lib/CodeGen/RegisterCoalescer.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/llvm/lib/CodeGen/RegisterCoalescer.cpp b/llvm/lib/CodeGen/RegisterCoalescer.cpp index 11ba9ac2bd1..6770c82af3b 100644 --- a/llvm/lib/CodeGen/RegisterCoalescer.cpp +++ b/llvm/lib/CodeGen/RegisterCoalescer.cpp @@ -278,15 +278,6 @@ bool CoalescerPair::setRegisters(const MachineInstr *MI) { SrcIdx, DstIdx); if (!NewRC) return false; - - // We cannot handle the case where both Src and Dst would be a - // sub-register. Yet. - if (SrcIdx && DstIdx) { - DEBUG(dbgs() << "\tCannot handle " << NewRC->getName() - << " with subregs " << TRI.getSubRegIndexName(SrcIdx) - << " and " << TRI.getSubRegIndexName(DstIdx) << '\n'); - return false; - } } else if (DstSub) { // SrcReg will be merged with a sub-register of DstReg. SrcIdx = DstSub; |

