Skip to content
  • Jakob Stoklund Olesen's avatar
    Mark all uses as <undef> when joining a copy. · 9a788354
    Jakob Stoklund Olesen authored
    This way, shrinkToUses() will ignore the instruction that is about to be
    deleted, and we avoid leaving invalid live ranges that SplitKit doesn't like.
    
    Fix a misunderstanding in MachineVerifier about <def,undef> operands. The
    <undef> flag is valid on def operands where it has the same meaning as <undef>
    on a use operand. It only applies to sub-register defines which also read the
    full register.
    
    llvm-svn: 128642
    9a788354
Loading