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

Wenju He via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Apr 24 19:58:35 PDT 2022


wenju created this revision.
wenju added reviewers: chandlerc, tejohnson.
Herald added subscribers: zzheng, hiraditya.
Herald added a project: All.
wenju requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.

Legacy createLoopUnrollPass provides threshold parameter. This patch
brings the support to new-pm LoopUnrollPass.

Our downstream uses LoopUnroll pass with small threshold for fine tuning, so we want the support for new pm.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D124355

Files:
  llvm/include/llvm/Transforms/Scalar/LoopUnrollPass.h
  llvm/lib/Passes/PassBuilder.cpp
  llvm/lib/Passes/PassRegistry.def
  llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
  llvm/test/Other/new-pm-print-pipeline.ll
  llvm/test/Other/print-passes.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124355.424811.patch
Type: text/x-patch
Size: 6325 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20220425/e1c4c8ce/attachment.bin>


More information about the llvm-commits mailing list