Skip to content
  • Jakob Stoklund Olesen's avatar
    Convert COPY instructions into KILLs if they have implicit defs. · bb1e9831
    Jakob Stoklund Olesen authored
    MachineCopyPropagation doesn't understand super-register liveness well
    enough to be able to remove implicit defs of super-registers.
    
    This fixes a problem in ARM/2012-01-26-CopyPropKills.ll that is exposed
    by an future TwoAddressInstructionPass change. The KILL instructions are
    removed before the machine code is emitted.
    
    llvm-svn: 169060
    bb1e9831
Loading