[PATCH] D28897: [PM] Simplify the new PM interface to the loop unroller and expose two factory functions for the two modes the loop unroller is actually used in in-tree: simplified full-unrolling and the entire thing including partial unrolling.
Chandler Carruth via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 19 04:14:04 PST 2017
chandlerc created this revision.
Herald added subscribers: mzolotukhin, mcrosier.
I've also wired these up to nice names so you can express both of these
being in a pipeline easily. This is a precursor to actually enabling
these parts of the https://reviews.llvm.org/owners/package/2/ pipeline.
I'm happy to consider alternative names here. I'm not a huge fan of
"simple" but it is what we were using.
Depends on https://reviews.llvm.org/D28848.
https://reviews.llvm.org/D28897
Files:
include/llvm/Transforms/Scalar/LoopUnrollPass.h
lib/Passes/PassRegistry.def
lib/Transforms/Scalar/LoopUnrollPass.cpp
test/Transforms/LoopUnroll/full-unroll-bad-cost.ll
test/Transforms/LoopUnroll/full-unroll-crashers.ll
test/Transforms/LoopUnroll/full-unroll-heuristics-2.ll
test/Transforms/LoopUnroll/full-unroll-heuristics-cmp.ll
test/Transforms/LoopUnroll/full-unroll-heuristics-dce.ll
test/Transforms/LoopUnroll/full-unroll-heuristics-geps.ll
test/Transforms/LoopUnroll/full-unroll-heuristics-phi-prop.ll
test/Transforms/LoopUnroll/full-unroll-heuristics.ll
test/Transforms/LoopUnroll/full-unroll-keep-first-exit.ll
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28897.84956.patch
Type: text/x-patch
Size: 12660 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170119/4f1cdd4f/attachment.bin>
More information about the llvm-commits
mailing list