Skip to content
  • Jakob Stoklund Olesen's avatar
    Remove RegisterScavenger::isSuperRegUsed(). This completely reverses the mistaken commit r77904. · 8e96c6ab
    Jakob Stoklund Olesen authored
    Now there is no special treatment of instructions that redefine part of a
    super-register. Instead, the super-register is marked with <imp-use,kill> and
    <imp-def>. For instance, from LowerSubregs on ARM:
    
    subreg: CONVERTING: %Q1<def> = INSERT_SUBREG %Q1<undef>, %D1<kill>, 5
    subreg: %D2<def> = FCPYD %D1<kill>, 14, %reg0, %Q1<imp-def>
    
    subreg: CONVERTING: %Q1<def> = INSERT_SUBREG %Q1, %D0<kill>, 6
    subreg: %D3<def> = FCPYD %D0<kill>, 14, %reg0, %Q1<imp-use,kill>, %Q1<imp-def>
    llvm-svn: 78466
    8e96c6ab
Loading