[PATCH] D67594: [LoopUnroll] Use LoopSize+1 as threshold, to allow unrolling loops matching LoopSize.
Florian Hahn via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 16 05:23:23 PDT 2019
fhahn marked an inline comment as done.
fhahn added inline comments.
================
Comment at: llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp:1036
// When optimizing for size, use LoopSize as threshold, to (fully) unroll
// loops, if it does not increase code size.
if (OptForSize)
----------------
dmgreen wrote:
> Can you update this comment with why it's +1.
done, thanks!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67594/new/
https://reviews.llvm.org/D67594
More information about the llvm-commits
mailing list