[PATCH] D28368: Give higher full-unroll boosting when the loop iteration is small.

Dehao Chen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 10 16:46:50 PST 2017


danielcdh updated this revision to Diff 83895.
danielcdh added a comment.

use a separate FullThreshold for fully unroller.


https://reviews.llvm.org/D28368

Files:
  include/llvm/Analysis/TargetTransformInfo.h
  lib/Transforms/Scalar/LoopUnrollPass.cpp
  test/Transforms/BBVectorize/loop1.ll
  test/Transforms/LoopUnroll/full-unroll-heuristics-2.ll
  test/Transforms/LoopUnroll/full-unroll-heuristics-geps.ll
  test/Transforms/LoopUnroll/full-unroll-heuristics.ll
  test/Transforms/LoopUnroll/partial-unroll-const-bounds.ll
  test/Transforms/LoopUnroll/unroll-pragmas.ll
  test/Transforms/LoopVectorize/X86/metadata-enable.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28368.83895.patch
Type: text/x-patch
Size: 13158 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170111/ed97439e/attachment.bin>


More information about the llvm-commits mailing list