[all-commits] [llvm/llvm-project] 3f3017: [Loop Peeling] Add possibility to enable peeling o...

Arkady Shlykov via All-commits all-commits at lists.llvm.org
Wed Jan 15 08:29:16 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f3017e162ec4208399dcf633c99bdac788c06fd
      https://github.com/llvm/llvm-project/commit/3f3017e162ec4208399dcf633c99bdac788c06fd
  Author: Arkady Shlykov <arkady.shlykov at intel.com>
  Date:   2020-01-15 (Wed, 15 Jan 2020)

  Changed paths:
    M llvm/include/llvm/Analysis/TargetTransformInfo.h
    M llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
    M llvm/lib/Transforms/Utils/LoopUnrollPeel.cpp
    M llvm/test/Transforms/LoopUnroll/peel-loop-conditions.ll
    A llvm/test/Transforms/LoopUnroll/peel-loop-nests.ll

  Log Message:
  -----------
  [Loop Peeling] Add possibility to enable peeling on loop nests.

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




More information about the All-commits mailing list