Skip to content
  • Jakob Stoklund Olesen's avatar
    Don't add <imp-def> operands during register rewriting. · 4d19d265
    Jakob Stoklund Olesen authored
    LiveIntervals already adds <imp-def> operands for super-registers when a subreg
    def defines the whole register. Thus, it is not necessary to do it again when
    rewriting.
    
    In fact, the super-register imp-defs caused miscompilations because the late
    scheduler couldn't see that the super-register was read.
    
    We still add super-reg <imp-use,kill> operands when rewriting virtuals to
    physicals.
    
    llvm-svn: 113299
    4d19d265
Loading