HomePhabricator

[Loop Peeling] Add possibility to enable peeling on loop nests.

Authored by ashlykov on Jan 17 2020, 5:35 AM.

Description

[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

Details

Committed
ashlykovMar 2 2020, 8:37 AM
Reviewer
xbolva00
Differential Revision
D70304: [Loop Peeling] Add possibility to enable peeling on loop nests.
Parents
rG78f9e5d098af: [mlir] Add padding to 1-D Vector in CRunnerUtils.h
Branches
Unknown
Tags
Unknown