Skip to content
  • Jakob Stoklund Olesen's avatar
    Renumber slot indexes locally when possible. · b8e6fdc2
    Jakob Stoklund Olesen authored
    Initially, slot indexes are quad-spaced. There is room for inserting up to 3
    new instructions between the original instructions.
    
    When we run out of indexes between two instructions, renumber locally using
    double-spaced indexes. The original quad-spacing means that we catch up quickly,
    and we only have to renumber a handful of instructions to get a monotonic
    sequence. This is much faster than renumbering the whole function as we did
    before.
    
    llvm-svn: 127023
    b8e6fdc2
Loading