Skip to content
  • Arkady Shlykov's avatar
    [Loop Peeling] Add possibility to enable peeling on loop nests. · 3f3017e1
    Arkady Shlykov authored
    Summary:
    Current peeling implementation bails out in case of loop nests.
    The patch introduces a field in TargetTransformInfo structure that
    certain targets can use to relax the constraints if it's
    profitable (disabled by default).
    Also additional option is added to enable peeling manually for
    experimenting and testing purposes.
    
    Reviewers: fhahn, lebedev.ri, xbolva00
    
    Reviewed By: xbolva00
    
    Subscribers: xbolva00, hiraditya, zzheng, llvm-commits
    
    Differential Revision: https://reviews.llvm.org/D70304
    3f3017e1