Skip to content
Snippets Groups Projects
  • Evan Cheng's avatar
    Coalescer should not delete extract_subreg, insert_subreg, and subreg_to_reg of · e0c53134
    Evan Cheng authored
    physical registers. This is especially critical for the later two since they
    start the live interval of a super-register. e.g.
    %DO<def> = INSERT_SUBREG %D0<undef>, %S0<kill>, 1
    If this instruction is eliminated, the register scavenger will not be happy as
    D0 is not defined previously.
    This fixes PR5055.
    
    llvm-svn: 82968
    e0c53134
sink-hoist.ll 1.11 KiB