Skip to content
  • Jakob Stoklund Olesen's avatar
    Never delete instructions that define reserved registers. · 5d33291e
    Jakob Stoklund Olesen authored
    I think this was already the intention, but DeadMachineInstructionElim
    was accidentally tracking the liveness of reserved registers. Now,
    instructions with reserved defs are never deleted.
    
    This prevents the call stack adjustment instructions from getting
    deleted when enabling register masks.
    
    llvm-svn: 150116
    5d33291e
Loading