Skip to content
  • Sam Parker's avatar
    [LSR] Generate cross iteration indexes · 67756c09
    Sam Parker authored
        
    Modify GenerateConstantOffsetsImpl to create offsets that can be used
    by indexed addressing modes. If formulae can be generated which
    result in the constant offset being the same size as the recurrence,
    we can generate a pre-indexed access. This allows the pointer to be
    updated via the single pre-indexed access so that (hopefully) no
    add/subs are required to update it for the next iteration. For small
    cores, this can significantly improve performance DSP-like loops.
    
    Differential Revision: https://reviews.llvm.org/D55373
    
    llvm-svn: 353403
    67756c09
Loading