diff options
author | Dimitry Andric <dim@FreeBSD.org> | 2011-10-20 21:10:27 +0000 |
---|---|---|
committer | Dimitry Andric <dim@FreeBSD.org> | 2011-10-20 21:10:27 +0000 |
commit | 30815c536baacc07e925f0aef23a5395883173dc (patch) | |
tree | 2cbcf22585e99f8a87d12d5ff94f392c0d266819 /test/Transforms/LoopSimplify/single-backedge.ll | |
parent | 411bd29eea3c360d5b48a18a17b5e87f5671af0e (diff) |
Diffstat (limited to 'test/Transforms/LoopSimplify/single-backedge.ll')
-rw-r--r-- | test/Transforms/LoopSimplify/single-backedge.ll | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/test/Transforms/LoopSimplify/single-backedge.ll b/test/Transforms/LoopSimplify/single-backedge.ll index f9567f124291..aedd6f23091c 100644 --- a/test/Transforms/LoopSimplify/single-backedge.ll +++ b/test/Transforms/LoopSimplify/single-backedge.ll @@ -1,8 +1,11 @@ -; The loop canonicalization pass should guarantee that there is one backedge -; for all loops. This allows the -indvars pass to recognize the %IV +; The loop canonicalization pass should guarantee that there is one backedge +; for all loops. This allows the -indvars pass to recognize the %IV ; induction variable in this testcase. -; RUN: opt < %s -indvars -S | grep indvar +; RUN: opt < %s -indvars -S | FileCheck %s +; CHECK: Loop.backedge: +; CHECK-NOT: br +; CHECK: br label %Loop define i32 @test(i1 %C) { ; <label>:0 |