llvm.org GIT mirror llvm / 27cea8e
indvars test only relevant for -enable-iv-rewrite. Otherwise this case is now covered by no-iv-rewrite.ll. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139552 91177308-0d34-0410-b5e6-96231b3b80d8 Andrew Trick 8 years ago
1 changed file(s) with 3 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
0 ; The i induction variable looks like a wrap-around, but it really is just
11 ; a simple affine IV. Make sure that indvars eliminates it.
22
3 ; RUN: opt < %s -indvars -S | grep phi | count 1
3 ; RUN: opt < %s -indvars -S -enable-iv-rewrite | FileCheck %s
4 ; CHECK: phi
5 ; CHECK-NOT: phi
46
57 define void @foo() {
68 entry: