[PATCH] D124355: [LoopUnroll] allow customization of threshold for new-pm

Wenju He via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 25 02:34:40 PDT 2022


wenju added a comment.

In D124355#3471198 <https://reviews.llvm.org/D124355#3471198>, @dmgreen wrote:

> Can you just have getUnrollingPreferences override the UP.Threshold for your target?

Thanks for the suggestion.

> Or is it that you want a specific run of the unroll pass to have a lower threshold than other runs?

Yes, our pipeline contains several calls of LoopUnroll pass with different thresholds, so I think getUnrollingPreferences or overriding command line option wouldn't work.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D124355



More information about the llvm-commits mailing list