Skip to content
  • Jakob Stoklund Olesen's avatar
    Fix PR6283. · b659c76c
    Jakob Stoklund Olesen authored
    When coalescing with a physreg, remember to add imp-def and imp-kill when
    dealing with sub-registers.
    
    Also fix a related bug in VirtRegRewriter where substitutePhysReg may
    reallocate the operand list on an instruction and invalidate the reg_iterator.
    This can happen when a register is mentioned twice on the same instruction.
    
    llvm-svn: 96072
    b659c76c
Loading