| 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 ; RUN: %llvm2ice -O2 --verbose regalloc %s | 5 ; TODO(kschimpf) Find out why lc2i is needed. |
| 6 ; RUN: %lc2i -i %s --args -O2 --verbose regalloc |
| 6 | 7 |
| 7 ; ModuleID = 'bugpoint-reduced-simplified.ll' | 8 ; ModuleID = 'bugpoint-reduced-simplified.ll' |
| 8 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" | 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" |
| 9 target triple = "i386-pc-linux-gnu" | 10 target triple = "i386-pc-linux-gnu" |
| 10 | 11 |
| 11 define void @foo() { | 12 define void @foo() { |
| 12 bb: | 13 bb: |
| 13 br i1 undef, label %bb13, label %bb14 | 14 br i1 undef, label %bb13, label %bb14 |
| 14 | 15 |
| 15 bb13: | 16 bb13: |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 | 73 |
| 73 bb48: ; preds = %bb47 | 74 bb48: ; preds = %bb47 |
| 74 br i1 undef, label %bb50, label %bb17 | 75 br i1 undef, label %bb50, label %bb17 |
| 75 | 76 |
| 76 bb49: ; preds = %bb46 | 77 bb49: ; preds = %bb46 |
| 77 br i1 undef, label %bb50, label %bb16 | 78 br i1 undef, label %bb50, label %bb16 |
| 78 | 79 |
| 79 bb50: ; preds = %bb49, %bb48, %bb47,
%bb15, %bb14 | 80 bb50: ; preds = %bb49, %bb48, %bb47,
%bb15, %bb14 |
| 80 unreachable | 81 unreachable |
| 81 } | 82 } |
| OLD | NEW |