Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(84)

Side by Side Diff: tests_lit/llvm2ice_tests/regalloc_evict_non_overlap.ll

Issue 432613002: Subzero: Fix some issues related to legalization and undef handling. (Closed) Base URL: https://gerrit.chromium.org/gerrit/p/native_client/pnacl-subzero.git@master
Patch Set: Address comments Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/IceTargetLoweringX8632.cpp ('k') | tests_lit/llvm2ice_tests/undef.ll » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 ; RUN: %llvm2ice -O2 --verbose regalloc %s
6 6
7 ; ModuleID = 'bugpoint-reduced-simplified.ll' 7 ; 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" 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 triple = "i386-pc-linux-gnu" 9 target triple = "i386-pc-linux-gnu"
10 10
(...skipping 16 matching lines...) Expand all
27 27
28 bb17: ; preds = %bb48, %bb16 28 bb17: ; preds = %bb48, %bb16
29 %tmp18 = phi i32 [ undef, %bb16 ], [ undef, %bb48 ] 29 %tmp18 = phi i32 [ undef, %bb16 ], [ undef, %bb48 ]
30 %tmp19 = add i32 %tmp18, 4 30 %tmp19 = add i32 %tmp18, 4
31 br i1 undef, label %bb21, label %bb46 31 br i1 undef, label %bb21, label %bb46
32 32
33 bb21: ; preds = %bb27, %bb17 33 bb21: ; preds = %bb27, %bb17
34 %tmp22 = phi i32 [ undef, %bb17 ], [ %tmp30, %bb27 ] 34 %tmp22 = phi i32 [ undef, %bb17 ], [ %tmp30, %bb27 ]
35 %tmp23 = add i32 undef, -1 35 %tmp23 = add i32 undef, -1
36 %tmp24 = add i32 undef, undef 36 %tmp24 = add i32 undef, undef
37 %tmp25 = load i32* undef, align 1 37 %undef.ptr = inttoptr i32 undef to i32*
38 %tmp25 = load i32* %undef.ptr, align 1
38 %tmp26 = icmp eq i32 undef, %tmp22 39 %tmp26 = icmp eq i32 undef, %tmp22
39 br i1 %tmp26, label %bb34, label %bb32 40 br i1 %tmp26, label %bb34, label %bb32
40 41
41 bb27: ; preds = %bb42, %bb34 42 bb27: ; preds = %bb42, %bb34
42 %tmp28 = icmp sgt i32 %tmp23, 0 43 %tmp28 = icmp sgt i32 %tmp23, 0
43 %tmp29 = inttoptr i32 %tmp19 to i32* 44 %tmp29 = inttoptr i32 %tmp19 to i32*
44 %tmp30 = load i32* %tmp29, align 1 45 %tmp30 = load i32* %tmp29, align 1
45 br i1 %tmp28, label %bb21, label %bb46 46 br i1 %tmp28, label %bb21, label %bb46
46 47
47 bb32: ; preds = %bb21 48 bb32: ; preds = %bb21
(...skipping 23 matching lines...) Expand all
71 72
72 bb48: ; preds = %bb47 73 bb48: ; preds = %bb47
73 br i1 undef, label %bb50, label %bb17 74 br i1 undef, label %bb50, label %bb17
74 75
75 bb49: ; preds = %bb46 76 bb49: ; preds = %bb46
76 br i1 undef, label %bb50, label %bb16 77 br i1 undef, label %bb50, label %bb16
77 78
78 bb50: ; preds = %bb49, %bb48, %bb47, %bb15, %bb14 79 bb50: ; preds = %bb49, %bb48, %bb47, %bb15, %bb14
79 unreachable 80 unreachable
80 } 81 }
OLDNEW
« no previous file with comments | « src/IceTargetLoweringX8632.cpp ('k') | tests_lit/llvm2ice_tests/undef.ll » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698