[PATCH] D104482: [LoopUnroll] Simplify optimization remarks
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jun 17 12:28:10 PDT 2021
nikic created this revision.
nikic added a reviewer: reames.
Herald added subscribers: zzheng, hiraditya.
nikic requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
This reduces the optimization remarks for unrolling to only include the unroll count, and whether it is a complete unroll, partial unroll or runtime unroll. The information about `ULO.TripMultiple` and `BreakoutTrip` is removed, as it is not compatible with multiple exits. The alternative would be to instead add information about all exits to the optimization remarks, but this doesn't seem particularly useful to me.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D104482
Files:
llvm/lib/Transforms/Utils/LoopUnroll.cpp
llvm/test/Transforms/LoopUnroll/loop-remarks-with-hotness.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D104482.352822.patch
Type: text/x-patch
Size: 4931 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210617/1cfc533e/attachment.bin>
More information about the llvm-commits
mailing list