Skip to content
  • Jakob Stoklund Olesen's avatar
    Strip old implicit operands after foldMemoryOperand. · eef48b69
    Jakob Stoklund Olesen authored
    The TII.foldMemoryOperand hook preserves implicit operands from the
    original instruction.  This is not what we want when those implicit
    operands refer to the register being spilled.
    
    Implicit operands referring to other registers are preserved.
    
    This fixes PR11347.
    
    llvm-svn: 144247
    eef48b69
Loading