[PATCH] D80580: Separate Peeling Properties into its own struct

Sidharth Baveja via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue May 26 13:39:48 PDT 2020


sidbav added a comment.

In D80580#2055720 <https://reviews.llvm.org/D80580#2055720>, @fhahn wrote:

> Could you elaborate why this change is desired? Is there a problem with getting the unrolling preferences and checking the peeling properties in that way? If that's the case it would be good to provide some context (e.g. in form of a follow-on patch that uses the new PeelingPreferences).


I would not really call it a problem, but more of an inconvenience. Peeling should not be attached to Unrolling if other Transforms can also make use of peeling. Additionally when another transformation is accessing the peeling properties, I do not think it would make sense to do so through the UnrollingPreferences struct. This could make for some quite confusing code.

However, I can start to look into a follow-up patch which makes use of the PeelingPreferences struct.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D80580/new/

https://reviews.llvm.org/D80580





More information about the llvm-commits mailing list