[PATCH] D114894: [unroll] Fix a functional change in an NFC patch
Daniel Sanders via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Dec 1 17:28:42 PST 2021
This revision was automatically updated to reflect the committed changes.
Closed by commit rG54e21df973e1: [unroll] Fix a functional change in an NFC patch (authored by dsanders).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114894/new/
https://reviews.llvm.org/D114894
Files:
llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
Index: llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
===================================================================
--- llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
+++ llvm/lib/Transforms/Scalar/LoopUnrollPass.cpp
@@ -808,7 +808,7 @@
const TargetTransformInfo::UnrollingPreferences &UP) {
assert(FullUnrollTripCount && "should be non-zero!");
- if (FullUnrollTripCount >= UP.FullUnrollMaxCount)
+ if (FullUnrollTripCount > UP.FullUnrollMaxCount)
return None;
// When computing the unrolled size, note that BEInsns are not replicated
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D114894.391173.patch
Type: text/x-patch
Size: 562 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20211202/8192f19c/attachment-0001.bin>
More information about the llvm-commits
mailing list