1 ; RUN: llvm-upgrade < %s | llvm-as | opt -licm -disable-output
2 %struct..apr_array_header_t = type { int*, int, int, int, sbyte* }
3 %struct..apr_table_t = type { %struct..apr_array_header_t, uint, [32 x int], [32 x int] }
5 void %table_reindex(%struct..apr_table_t* %t.1) { ; No predecessors!
8 loopentry: ; preds = %0, %no_exit
9 %tmp.101 = getelementptr %struct..apr_table_t* %t.1, long 0, uint 0, uint 2
10 %tmp.11 = load int* %tmp.101 ; <int> [#uses=0]
11 br bool false, label %no_exit, label %UnifiedExitNode
13 no_exit: ; preds = %loopentry
14 %tmp.25 = cast int 0 to long ; <long> [#uses=1]
15 %tmp.261 = getelementptr %struct..apr_table_t* %t.1, long 0, uint 3, long %tmp.25 ; <int*> [#uses=1]
16 store int 0, int* %tmp.261
19 UnifiedExitNode: ; preds = %loopentry