[PATCH] D143948: [loop unroll] Fix `branch-weights` for unrolled loop.
Nikita Popov via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 14 03:46:44 PST 2023
nikic added inline comments.
================
Comment at: llvm/lib/Transforms/Utils/LoopUnroll.cpp:315
+ std::optional<unsigned> OriginalTripCount =
+ llvm::getLoopEstimatedTripCount(L, &EstimatedLoopInvocationWeight);
----------------
nit: Unnecessary `llvm::` prefix.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D143948/new/
https://reviews.llvm.org/D143948
More information about the llvm-commits
mailing list