[PATCH] D138369: [MLGO][LoopUnroll] Add logging mechanism for loop partial unroll

Yueh-Ting (eop) Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Nov 19 17:49:25 PST 2022


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

Loop properties are extracted as input features and the partial unroll
count is the decision. An object MLGOAnalysis will be created in the
first time the LoopPass LoopUnrollPass is triggered, logs will
accumulate and all would be flushed at the end of compilation, in the
dtor of LoopUnrollPass.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D138369

Files:
  llvm/include/llvm/Transforms/Scalar/LoopUnrollPass.h
  llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138369.476713.patch
Type: text/x-patch
Size: 11746 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20221120/b2cb6541/attachment.bin>


More information about the llvm-commits mailing list