[SystemZ] Add test missing from r186148
[oota-llvm.git] / test / Transforms / LoopSimplify / single-backedge.ll
index 8391048eed220f713861aa6659721a483a73e1bb..aedd6f23091c92d01ab8f3593b982521b7902d8b 100644 (file)
@@ -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: llvm-as < %s | opt -indvars | llvm-dis | 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