[all-commits] [llvm/llvm-project] 3dcaf2: [Loop Peeling] Add possibility to enable peeling o...
Arkady Shlykov via All-commits
all-commits at lists.llvm.org
Mon Mar 2 08:40:46 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 3dcaf296aeb0d06bcb8f6e7fb661573d6e01d90c
https://github.com/llvm/llvm-project/commit/3dcaf296aeb0d06bcb8f6e7fb661573d6e01d90c
Author: Arkady Shlykov <arkady.shlykov at intel.com>
Date: 2020-03-02 (Mon, 02 Mar 2020)
Changed paths:
M llvm/include/llvm/Analysis/TargetTransformInfo.h
M llvm/include/llvm/Transforms/Utils/LoopUtils.h
M llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
M llvm/lib/Transforms/Scalar/LoopUnswitch.cpp
M llvm/lib/Transforms/Utils/LoopUnrollPeel.cpp
M llvm/lib/Transforms/Utils/LoopUtils.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: RKSimon, xbolva00, hiraditya, zzheng, llvm-commits
Differential Revision: https://reviews.llvm.org/D70304
More information about the All-commits
mailing list