This is an archive of the discontinued LLVM Phabricator instance.

[Loop Peeling] Introduce peeling levels
AbandonedPublic

Authored by skatkov on Jul 31 2019, 1:14 AM.

Details

Reviewers
reames
fhahn
Summary

The patch introduces three peeling levels:

  1. No peeling
  2. Peeling basing on heuristic without profile information
  3. All peeling heuristics

The patch mostly is NFC except it changes the ways the peeling enabling
is specified. Before the patch it was a bool flag and now it is a enum value,

The idea comes from review of https://reviews.llvm.org/D64972.

Diff Detail