Forbid arrays of function-type and structures with function-typed fields.
[llvm/avr.git] / test / Transforms / SSI / 2009-08-19-UnreachableBB2.ll
blob64bed191def03cc612b07ea48e6a2700b73e9cca
1 ; RUN: opt < %s -ssi-everything -disable-output
3 define void @foo() {
4 entry:
5         %tmp0 = load i64* undef, align 4                ; <i64> [#uses=3]
6         br i1 undef, label %end_stmt_playback, label %bb16
8 readJournalHdr.exit:            ; No predecessors!
9         br label %end_stmt_playback
11 bb16:           ; preds = %bb7
12         %tmp1 = icmp slt i64 0, %tmp0           ; <i1> [#uses=1]
13         br i1 %tmp1, label %bb16, label %bb17
15 bb17:           ; preds = %bb16
16         store i64 %tmp0, i64* undef, align 4
17         br label %end_stmt_playback
19 end_stmt_playback:              ; preds = %bb17, %readJournalHdr.exit, %bb6, %bb2
20         store i64 %tmp0, i64* undef, align 4
21         ret void