diff options
| author | Chandler Carruth <chandlerc@gmail.com> | 2017-01-26 02:13:50 +0000 |
|---|---|---|
| committer | Chandler Carruth <chandlerc@gmail.com> | 2017-01-26 02:13:50 +0000 |
| commit | eab3b90a148ce154fc54572ece849bf83589ae3a (patch) | |
| tree | 353d5bba47b3f52f914457c9477610129f1e36f3 /llvm/test/Transforms/LoopUnroll/full-unroll-heuristics-geps.ll | |
| parent | 891c777f90cd86e3955cdaae349bffcb29735bc9 (diff) | |
| download | bcm5719-llvm-eab3b90a148ce154fc54572ece849bf83589ae3a.tar.gz bcm5719-llvm-eab3b90a148ce154fc54572ece849bf83589ae3a.zip | |
[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.
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 O2 pipeline.
Differential Revision: https://reviews.llvm.org/D28897
llvm-svn: 293136
Diffstat (limited to 'llvm/test/Transforms/LoopUnroll/full-unroll-heuristics-geps.ll')
| -rw-r--r-- | llvm/test/Transforms/LoopUnroll/full-unroll-heuristics-geps.ll | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/LoopUnroll/full-unroll-heuristics-geps.ll b/llvm/test/Transforms/LoopUnroll/full-unroll-heuristics-geps.ll index 3e5fe1d889e..238869d120b 100644 --- a/llvm/test/Transforms/LoopUnroll/full-unroll-heuristics-geps.ll +++ b/llvm/test/Transforms/LoopUnroll/full-unroll-heuristics-geps.ll @@ -1,5 +1,5 @@ ; RUN: opt < %s -S -loop-unroll -unroll-max-iteration-count-to-analyze=100 -unroll-threshold=10 -unroll-max-percent-threshold-boost=200 | FileCheck %s -; RUN: opt < %s -S -passes='require<opt-remark-emit>,loop(unroll)' -unroll-max-iteration-count-to-analyze=100 -unroll-threshold=10 -unroll-max-percent-threshold-boost=200 | FileCheck %s +; RUN: opt < %s -S -passes='require<opt-remark-emit>,loop(unroll-full)' -unroll-max-iteration-count-to-analyze=100 -unroll-threshold=10 -unroll-max-percent-threshold-boost=200 | FileCheck %s target datalayout = "e-m:o-i64:64-f80:128-n8:16:32:64-S128" ; When examining gep-instructions we shouldn't consider them simplified if the |

