| 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 ; ModuleID = 'bugpoint-reduced-simplified.ll' | |
| 9 target datalayout = "e-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64
:64:64-p:32:32:32-v128:32:32" | |
| 10 target triple = "i386-pc-linux-gnu" | |
| 11 | |
| 12 define void @foo() { | 8 define void @foo() { |
| 13 bb: | 9 bb: |
| 14 br i1 undef, label %bb13, label %bb14 | 10 br i1 undef, label %bb13, label %bb14 |
| 15 | 11 |
| 16 bb13: | 12 bb13: |
| 17 unreachable | 13 unreachable |
| 18 | 14 |
| 19 bb14: | 15 bb14: |
| 20 br i1 undef, label %bb50, label %bb16 | 16 br i1 undef, label %bb50, label %bb16 |
| 21 | 17 |
| (...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 | 69 |
| 74 bb48: ; preds = %bb47 | 70 bb48: ; preds = %bb47 |
| 75 br i1 undef, label %bb50, label %bb17 | 71 br i1 undef, label %bb50, label %bb17 |
| 76 | 72 |
| 77 bb49: ; preds = %bb46 | 73 bb49: ; preds = %bb46 |
| 78 br i1 undef, label %bb50, label %bb16 | 74 br i1 undef, label %bb50, label %bb16 |
| 79 | 75 |
| 80 bb50: ; preds = %bb49, %bb48, %bb47,
%bb15, %bb14 | 76 bb50: ; preds = %bb49, %bb48, %bb47,
%bb15, %bb14 |
| 81 unreachable | 77 unreachable |
| 82 } | 78 } |
| OLD | NEW |