OLD | NEW |
1 ; Bugpoint-reduced example that demonstrated a bug (assertion failure) | 1 ; Bugpoint-reduced example that demonstrated a bug (assertion failure) |
2 ; in register allocation. See | 2 ; in register allocation. See |
3 ; https://code.google.com/p/nativeclient/issues/detail?id=3903 . | 3 ; https://code.google.com/p/nativeclient/issues/detail?id=3903 . |
4 ; | 4 ; |
5 ; TODO(kschimpf) Find out why lc2i is needed. | 5 ; TODO(kschimpf) Find out why lc2i is needed. |
6 ; RUN: %lc2i -i %s --args -O2 --verbose regalloc | 6 ; RUN: %lc2i -i %s --args -O2 --verbose regalloc |
7 | 7 |
8 define void @foo() { | 8 define internal void @foo() { |
9 bb: | 9 bb: |
10 br i1 undef, label %bb13, label %bb14 | 10 br i1 undef, label %bb13, label %bb14 |
11 | 11 |
12 bb13: | 12 bb13: |
13 unreachable | 13 unreachable |
14 | 14 |
15 bb14: | 15 bb14: |
16 br i1 undef, label %bb50, label %bb16 | 16 br i1 undef, label %bb50, label %bb16 |
17 | 17 |
18 bb15: ; preds = %bb42, %bb35 | 18 bb15: ; preds = %bb42, %bb35 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 | 69 |
70 bb48: ; preds = %bb47 | 70 bb48: ; preds = %bb47 |
71 br i1 undef, label %bb50, label %bb17 | 71 br i1 undef, label %bb50, label %bb17 |
72 | 72 |
73 bb49: ; preds = %bb46 | 73 bb49: ; preds = %bb46 |
74 br i1 undef, label %bb50, label %bb16 | 74 br i1 undef, label %bb50, label %bb16 |
75 | 75 |
76 bb50: ; preds = %bb49, %bb48, %bb47,
%bb15, %bb14 | 76 bb50: ; preds = %bb49, %bb48, %bb47,
%bb15, %bb14 |
77 unreachable | 77 unreachable |
78 } | 78 } |
OLD | NEW |