[PATCH] D69617: [LoopUnroll] countToEliminateCompares(): fix handling of [in]equality predicates (PR43840)
Roman Lebedev via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Nov 5 12:57:14 PST 2019
lebedev.ri updated this revision to Diff 227953.
lebedev.ri added a comment.
Fix edge-case handling - if we need to peel that one extra iteration,
we should still respect the `MaxPeelCount`, and if we aren't allowed
to peel, we should give up, not do subpar peeling job.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69617/new/
https://reviews.llvm.org/D69617
Files:
llvm/lib/Transforms/Utils/LoopUnrollPeel.cpp
llvm/test/Transforms/LoopUnroll/peel-loop-conditions.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D69617.227953.patch
Type: text/x-patch
Size: 21971 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20191105/29df9932/attachment.bin>
More information about the llvm-commits
mailing list