[PATCH] D50075: [UnJ] Improve explicit loop count checks

Dave Green via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 31 08:54:38 PDT 2018


dmgreen created this revision.
dmgreen added reviewers: SjoerdMeijer, hfinkel, ddibyend, Meinersbur.
Herald added a subscriber: zzheng.

Try to improve the computed counts when it has been explicitly set by moving the code around, so that counts will be modified less by the call to computeUnrollCount.

Also added some extra debug messages for when unroll and jamming is disabled.


https://reviews.llvm.org/D50075

Files:
  lib/Transforms/Scalar/LoopUnrollAndJamPass.cpp
  test/Transforms/LoopUnrollAndJam/pragma-explicit.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D50075.158291.patch
Type: text/x-patch
Size: 9801 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180731/40929414/attachment.bin>


More information about the llvm-commits mailing list