summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/LoopUnroll/unloop.ll
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2017-01-25 02:49:01 +0000
committerChandler Carruth <chandlerc@gmail.com>2017-01-25 02:49:01 +0000
commitce40fa13ceb88dce5834e18da332981bc0fd5327 (patch)
treee5d33221f6597262beceb497202509e211c8c990 /llvm/test/Transforms/LoopUnroll/unloop.ll
parent05a5f7dc0b6e5c167afc6dde6dff1810af198f8e (diff)
downloadbcm5719-llvm-ce40fa13ceb88dce5834e18da332981bc0fd5327.tar.gz
bcm5719-llvm-ce40fa13ceb88dce5834e18da332981bc0fd5327.zip
[PM] Teach LoopUnroll to update the LPM infrastructure as it unrolls
loops. We do this by reconstructing the newly added loops after the unroll completes to avoid threading pass manager details through all the mess of the unrolling infrastructure. I've enabled some extra assertions in the LPM to try and catch issues here and enabled a bunch of unroller tests to try and make sure this is sane. Currently, I'm manually running loop-simplify when needed. That should go away once it is folded into the LPM infrastructure. Differential Revision: https://reviews.llvm.org/D28848 llvm-svn: 293011
Diffstat (limited to 'llvm/test/Transforms/LoopUnroll/unloop.ll')
-rw-r--r--llvm/test/Transforms/LoopUnroll/unloop.ll2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/test/Transforms/LoopUnroll/unloop.ll b/llvm/test/Transforms/LoopUnroll/unloop.ll
index db7bad5322c..6af13a55d6b 100644
--- a/llvm/test/Transforms/LoopUnroll/unloop.ll
+++ b/llvm/test/Transforms/LoopUnroll/unloop.ll
@@ -1,5 +1,5 @@
; RUN: opt < %s -S -loop-unroll -verify-loop-info | FileCheck %s
-; RUN: opt < %s -S -passes='function(require<scalar-evolution>,require<targetir>,require<opt-remark-emit>,loop(unroll),verify<loops>)' | FileCheck %s
+; RUN: opt < %s -S -passes='require<opt-remark-emit>,loop(unroll),verify<loops>' | FileCheck %s
;
; Unit tests for LoopInfo::markAsRemoved.
OpenPOWER on IntegriCloud