summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/IndVarSimplify/iv-widen.ll
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2016-06-05 18:01:19 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2016-06-05 18:01:19 +0000
commit4d4339d1e8b5838e10458293c2afc958c9014e1b (patch)
tree278e9af94ec0f2693cf394605428926993bd8653 /llvm/test/Transforms/IndVarSimplify/iv-widen.ll
parentf90e28d6fdf9b9443ba881d5796391709cfb3c4a (diff)
downloadbcm5719-llvm-4d4339d1e8b5838e10458293c2afc958c9014e1b.tar.gz
bcm5719-llvm-4d4339d1e8b5838e10458293c2afc958c9014e1b.zip
[PM] Port IndVarSimplify to the new pass manager
Summary: There are some rough corners, since the new pass manager doesn't have (as far as I can tell) LoopSimplify and LCSSA, so I've updated the tests to run them separately in the old pass manager in the lit tests. We also don't have an equivalent for AU.setPreservesCFG() in the new pass manager, so I've left a FIXME. Reviewers: bogner, chandlerc, davide Subscribers: sanjoy, mcrosier, llvm-commits Differential Revision: http://reviews.llvm.org/D20783 llvm-svn: 271846
Diffstat (limited to 'llvm/test/Transforms/IndVarSimplify/iv-widen.ll')
-rw-r--r--llvm/test/Transforms/IndVarSimplify/iv-widen.ll1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/test/Transforms/IndVarSimplify/iv-widen.ll b/llvm/test/Transforms/IndVarSimplify/iv-widen.ll
index ccf9fa0aa0a..bf635903fdf 100644
--- a/llvm/test/Transforms/IndVarSimplify/iv-widen.ll
+++ b/llvm/test/Transforms/IndVarSimplify/iv-widen.ll
@@ -1,4 +1,5 @@
; RUN: opt < %s -indvars -S | FileCheck %s
+; RUN: opt -lcssa -loop-simplify -S < %s | opt -S -passes='require<targetir>,require<scalar-evolution>,require<domtree>,loop(indvars)'
; Provide legal integer types.
target datalayout = "n8:16:32:64"
OpenPOWER on IntegriCloud