[PATCH] Reimplement heuristic for estimating complete-unroll optimization effects.

Michael Zolotukhin mzolotukhin at apple.com
Mon Feb 23 19:21:42 PST 2015


Partly address Chandler's remarks:

- Inline analyzeBlock and addBBSuccessors.
- Hoist worklist declaration out of the loop.
- Replace breaks with returns.

The rest is coming shortly.


http://reviews.llvm.org/D7837

Files:
  lib/Transforms/Scalar/LoopUnrollPass.cpp
  test/Transforms/LoopUnroll/full-unroll-early-exit.ll
  test/Transforms/LoopUnroll/full-unroll-no-taken-branch.ll

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7837.20568.patch
Type: text/x-patch
Size: 33674 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150224/2f459897/attachment.bin>


More information about the llvm-commits mailing list