1 ; NOTE: Assertions have been autogenerated by utils/update_test_checks.py
2 ; RUN: opt < %s -passes=sccp -S | FileCheck %s
8 ; CHECK-NEXT: br label [[BB:%.*]]
10 ; CHECK-NEXT: unreachable
16 %indvar = phi i32 [ 0, %entry ], [ %k, %bb.backedge ]
17 %k = add i32 %indvar, 1
18 br i1 undef, label %cond_true, label %cond_false
21 %tmp97 = icmp slt i32 %k, 10
22 br i1 %tmp97, label %bb.backedge, label %bb12
28 %tmp9 = icmp slt i32 %k, 10
29 br i1 %tmp9, label %bb.backedge, label %bb12
32 %tmp14 = icmp eq i32 %k, 10
33 br i1 %tmp14, label %cond_next18, label %cond_true17
36 tail call void @abort( )