Skip to content
  • Dan Gohman's avatar
    Re-enable elimination of unnecessary SUBREG_TO_REG instructions in · 527ca7e2
    Dan Gohman authored
    LowerSubregs, and fix an x86-64 isel bug that this exposed.
    
    SUBREG_TO_REG for x86-64 implicit zero extension is only safe for
    isel to generate when the source is known to always have zeros in
    the high 32 bits. The EXTRACT_SUBREG instruction does not clear
    the high 32 bits.
    
    llvm-svn: 54444
    527ca7e2
Loading