Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 5 additions & 8 deletions bench/abc/optimized/abcSop.c.ll
Original file line number Diff line number Diff line change
Expand Up @@ -1738,7 +1738,7 @@ define range(i32 0, 2) i32 @Abc_SopCheck(ptr noundef %0, i32 noundef %1) local_u
i8 48, label %25
i8 49, label %20
i8 120, label %.fold.split
i8 110, label %.fold.split35
i8 110, label %.fold.split
]

20: ; preds = %17
Expand All @@ -1750,15 +1750,12 @@ define range(i32 0, 2) i32 @Abc_SopCheck(ptr noundef %0, i32 noundef %1) local_u
%24 = tail call i32 (ptr, ptr, ...) @fprintf(ptr noundef %23, ptr noundef nonnull @.str.8, i32 noundef %22) #19
br label %._crit_edge52.thread

.fold.split: ; preds = %17
.fold.split: ; preds = %17, %17
br label %25

.fold.split35: ; preds = %17
br label %25

25: ; preds = %17, %.fold.split35, %.fold.split, %20
%.124 = phi i32 [ %.02350, %20 ], [ 1, %17 ], [ %.02350, %.fold.split ], [ %.02350, %.fold.split35 ]
%.1 = phi i32 [ 1, %20 ], [ %.051, %17 ], [ %.051, %.fold.split ], [ %.051, %.fold.split35 ]
25: ; preds = %17, %.fold.split, %20
%.124 = phi i32 [ %.02350, %20 ], [ 1, %17 ], [ %.02350, %.fold.split ]
%.1 = phi i32 [ 1, %20 ], [ %.051, %17 ], [ %.051, %.fold.split ]
%26 = getelementptr inbounds i8, ptr %.127.lcssa, i64 2
%27 = load i8, ptr %26, align 1
%.not34 = icmp eq i8 %27, 10
Expand Down
12 changes: 6 additions & 6 deletions bench/abc/optimized/ifDsd.c.ll
Original file line number Diff line number Diff line change
Expand Up @@ -8673,15 +8673,15 @@ tailrecurse: ; preds = %21, %2
%.val26 = load i32, ptr %8, align 4
%9 = and i32 %.val26, 7
switch i32 %9, label %.critedge [
i32 2, label %.critedge.loopexit63
i32 2, label %.critedge.loopexit61
i32 5, label %17
i32 4, label %.preheader
]

.preheader: ; preds = %tailrecurse
%10 = getelementptr inbounds i8, ptr %7, i64 8
%.not46 = icmp ult i32 %.val26, 134217728
br i1 %.not46, label %.critedge, label %.lr.ph.preheader
%.not44 = icmp ult i32 %.val26, 134217728
br i1 %.not44, label %.critedge, label %.lr.ph.preheader

.lr.ph.preheader: ; preds = %.preheader
%11 = lshr i32 %.val26, 27
Expand Down Expand Up @@ -8717,11 +8717,11 @@ tailrecurse: ; preds = %21, %2
%23 = load i32, ptr %22, align 4
br label %tailrecurse

.critedge.loopexit63: ; preds = %tailrecurse
.critedge.loopexit61: ; preds = %tailrecurse
br label %.critedge

.critedge: ; preds = %15, %12, %.lr.ph, %17, %tailrecurse, %.critedge.loopexit63, %.preheader
%.0 = phi i32 [ 0, %.preheader ], [ 1, %.critedge.loopexit63 ], [ 0, %tailrecurse ], [ 0, %17 ], [ 1, %15 ], [ 0, %12 ], [ 0, %.lr.ph ]
.critedge: ; preds = %15, %12, %.lr.ph, %17, %tailrecurse, %.critedge.loopexit61, %.preheader
%.0 = phi i32 [ 0, %.preheader ], [ 1, %.critedge.loopexit61 ], [ 0, %tailrecurse ], [ 0, %17 ], [ 1, %15 ], [ 0, %12 ], [ 0, %.lr.ph ]
ret i32 %.0
}

Expand Down
147 changes: 66 additions & 81 deletions bench/actix-rs/optimized/1ghd7r3h0kcgux6d.ll

Large diffs are not rendered by default.

27 changes: 12 additions & 15 deletions bench/actix-rs/optimized/2pgtlhl4qd060m9c.ll
Original file line number Diff line number Diff line change
Expand Up @@ -4546,29 +4546,26 @@ define noundef range(i16 400, 501) i16 @"_ZN102_$LT$actix_web..error..JsonPayloa
%2 = load i8, ptr %0, align 8, !range !538, !noundef !4
%3 = add nsw i8 %2, -11
%narrow = tail call i8 @llvm.umin.i8(i8 %3, i8 5)
switch i8 %narrow, label %9 [
switch i8 %narrow, label %8 [
i8 0, label %4
i8 1, label %5
i8 4, label %6
i8 5, label %7
i8 1, label %4
i8 4, label %5
i8 5, label %6
]

4: ; preds = %1
br label %9
4: ; preds = %1, %1
br label %8

5: ; preds = %1
br label %9
br label %8

6: ; preds = %1
br label %9

7: ; preds = %1
%8 = icmp eq i8 %2, 7
%..i = select i1 %8, i16 413, i16 400
br label %9
%7 = icmp eq i8 %2, 7
%..i = select i1 %7, i16 413, i16 400
br label %8

9: ; preds = %1, %7, %6, %5, %4
%.0 = phi i16 [ %..i, %7 ], [ 500, %6 ], [ 413, %5 ], [ 413, %4 ], [ 400, %1 ]
8: ; preds = %1, %6, %5, %4
%.0 = phi i16 [ %..i, %6 ], [ 500, %5 ], [ 413, %4 ], [ 400, %1 ]
ret i16 %.0
}

Expand Down
44 changes: 16 additions & 28 deletions bench/actix-rs/optimized/4mbibhikoaniv1dm.ll
Original file line number Diff line number Diff line change
Expand Up @@ -2697,16 +2697,16 @@ define hidden noundef nonnull align 8 dereferenceable(48) ptr @"_ZN122_$LT$brotl
%2 = load i64, ptr %0, align 8, !range !393, !noundef !4
switch i64 %2, label %default.unreachable1 [
i64 0, label %3
i64 1, label %10
i64 2, label %10
i64 3, label %10
i64 4, label %10
i64 1, label %6
i64 2, label %6
i64 3, label %6
i64 4, label %6
i64 5, label %4
i64 6, label %5
i64 7, label %6
i64 8, label %7
i64 9, label %8
i64 10, label %9
i64 6, label %4
i64 7, label %4
i64 8, label %4
i64 9, label %4
i64 10, label %5
]

default.unreachable1: ; preds = %1
Expand All @@ -2716,28 +2716,16 @@ default.unreachable1: ; preds = %1
tail call void @_ZN3std9panicking11begin_panic17hb8ecbc11ddbb084cE(ptr noalias noundef nonnull readonly align 1 @anon.51838d820bef2e7c66f7646d11d2f552.59.llvm.6642645476840219850, i64 noundef 12, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.51838d820bef2e7c66f7646d11d2f552.60.llvm.6642645476840219850) #16
unreachable

4: ; preds = %1
br label %10
4: ; preds = %1, %1, %1, %1, %1
br label %6

5: ; preds = %1
br label %10

6: ; preds = %1
br label %10

7: ; preds = %1
br label %10

8: ; preds = %1
br label %10

9: ; preds = %1
br label %10
br label %6

10: ; preds = %1, %1, %1, %1, %9, %8, %7, %6, %5, %4
%.sink = phi i64 [ 48, %9 ], [ 40, %8 ], [ 40, %7 ], [ 40, %6 ], [ 40, %5 ], [ 40, %4 ], [ 24, %1 ], [ 24, %1 ], [ 24, %1 ], [ 24, %1 ]
%11 = getelementptr inbounds i8, ptr %0, i64 %.sink
ret ptr %11
6: ; preds = %1, %1, %1, %1, %5, %4
%.sink = phi i64 [ 48, %5 ], [ 40, %4 ], [ 24, %1 ], [ 24, %1 ], [ 24, %1 ], [ 24, %1 ]
%7 = getelementptr inbounds i8, ptr %0, i64 %.sink
ret ptr %7
}

; Function Attrs: nonlazybind uwtable
Expand Down
24 changes: 12 additions & 12 deletions bench/arrow/optimized/compression.cc.ll
Original file line number Diff line number Diff line change
Expand Up @@ -1434,33 +1434,33 @@ _ZN9__gnu_cxx27__exchange_and_add_dispatchEPii.exit.i.i.i.i.i.i.i.i.i68: ; preds
br i1 %cmp.i.i.i.i.i.i.i.i.i70, label %cleanup.sink.split.sink.split, label %cleanup.sink.split

cleanup.sink.split.sink.split.sink.split: ; preds = %if.then.i.i.i.i.i.i.i40, %if.then.i.i.i.i.i.i.i76
%.sink245 = phi ptr [ %23, %if.then.i.i.i.i.i.i.i76 ], [ %13, %if.then.i.i.i.i.i.i.i40 ]
%.sink240.ph.ph = phi ptr [ %22, %if.then.i.i.i.i.i.i.i76 ], [ %12, %if.then.i.i.i.i.i.i.i40 ]
%.sink243 = phi ptr [ %23, %if.then.i.i.i.i.i.i.i76 ], [ %13, %if.then.i.i.i.i.i.i.i40 ]
%.sink238.ph.ph = phi ptr [ %22, %if.then.i.i.i.i.i.i.i76 ], [ %12, %if.then.i.i.i.i.i.i.i40 ]
%ref.tmp8.sink.ph.ph = phi ptr [ %ref.tmp8, %if.then.i.i.i.i.i.i.i76 ], [ %ref.tmp5, %if.then.i.i.i.i.i.i.i40 ]
%_M_weak_count.i.i.i.i.i.i.i77 = getelementptr inbounds i8, ptr %.sink245, i64 12
%_M_weak_count.i.i.i.i.i.i.i77 = getelementptr inbounds i8, ptr %.sink243, i64 12
store i32 0, ptr %_M_weak_count.i.i.i.i.i.i.i77, align 4
%vtable.i.i.i.i.i.i.i78 = load ptr, ptr %.sink245, align 8
%vtable.i.i.i.i.i.i.i78 = load ptr, ptr %.sink243, align 8
%vfn.i.i.i.i.i.i.i79 = getelementptr inbounds i8, ptr %vtable.i.i.i.i.i.i.i78, i64 16
%32 = load ptr, ptr %vfn.i.i.i.i.i.i.i79, align 8
call void %32(ptr noundef nonnull align 8 dereferenceable(16) %.sink245) #17
call void %32(ptr noundef nonnull align 8 dereferenceable(16) %.sink243) #17
br label %cleanup.sink.split.sink.split

cleanup.sink.split.sink.split: ; preds = %cleanup.sink.split.sink.split.sink.split, %_ZN9__gnu_cxx27__exchange_and_add_dispatchEPii.exit.i.i.i.i.i.i.i.i.i68, %_ZN9__gnu_cxx27__exchange_and_add_dispatchEPii.exit.i.i.i.i.i.i.i.i.i32
%.sink242 = phi ptr [ %13, %_ZN9__gnu_cxx27__exchange_and_add_dispatchEPii.exit.i.i.i.i.i.i.i.i.i32 ], [ %23, %_ZN9__gnu_cxx27__exchange_and_add_dispatchEPii.exit.i.i.i.i.i.i.i.i.i68 ], [ %.sink245, %cleanup.sink.split.sink.split.sink.split ]
%.sink240.ph = phi ptr [ %12, %_ZN9__gnu_cxx27__exchange_and_add_dispatchEPii.exit.i.i.i.i.i.i.i.i.i32 ], [ %22, %_ZN9__gnu_cxx27__exchange_and_add_dispatchEPii.exit.i.i.i.i.i.i.i.i.i68 ], [ %.sink240.ph.ph, %cleanup.sink.split.sink.split.sink.split ]
%.sink240 = phi ptr [ %13, %_ZN9__gnu_cxx27__exchange_and_add_dispatchEPii.exit.i.i.i.i.i.i.i.i.i32 ], [ %23, %_ZN9__gnu_cxx27__exchange_and_add_dispatchEPii.exit.i.i.i.i.i.i.i.i.i68 ], [ %.sink243, %cleanup.sink.split.sink.split.sink.split ]
%.sink238.ph = phi ptr [ %12, %_ZN9__gnu_cxx27__exchange_and_add_dispatchEPii.exit.i.i.i.i.i.i.i.i.i32 ], [ %22, %_ZN9__gnu_cxx27__exchange_and_add_dispatchEPii.exit.i.i.i.i.i.i.i.i.i68 ], [ %.sink238.ph.ph, %cleanup.sink.split.sink.split.sink.split ]
%ref.tmp8.sink.ph = phi ptr [ %ref.tmp5, %_ZN9__gnu_cxx27__exchange_and_add_dispatchEPii.exit.i.i.i.i.i.i.i.i.i32 ], [ %ref.tmp8, %_ZN9__gnu_cxx27__exchange_and_add_dispatchEPii.exit.i.i.i.i.i.i.i.i.i68 ], [ %ref.tmp8.sink.ph.ph, %cleanup.sink.split.sink.split.sink.split ]
%vtable2.i.i.i.i.i.i.i.i.i72 = load ptr, ptr %.sink242, align 8
%vtable2.i.i.i.i.i.i.i.i.i72 = load ptr, ptr %.sink240, align 8
%vfn3.i.i.i.i.i.i.i.i.i73 = getelementptr inbounds i8, ptr %vtable2.i.i.i.i.i.i.i.i.i72, i64 24
%33 = load ptr, ptr %vfn3.i.i.i.i.i.i.i.i.i73, align 8
call void %33(ptr noundef nonnull align 8 dereferenceable(16) %.sink242) #17
call void %33(ptr noundef nonnull align 8 dereferenceable(16) %.sink240) #17
br label %cleanup.sink.split

cleanup.sink.split: ; preds = %cleanup.sink.split.sink.split, %delete.notnull.i.i46, %_ZN9__gnu_cxx27__exchange_and_add_dispatchEPii.exit.i.i.i.i.i.i.i56, %_ZN9__gnu_cxx27__exchange_and_add_dispatchEPii.exit.i.i.i.i.i.i.i.i.i68, %delete.notnull.i.i10, %_ZN9__gnu_cxx27__exchange_and_add_dispatchEPii.exit.i.i.i.i.i.i.i20, %_ZN9__gnu_cxx27__exchange_and_add_dispatchEPii.exit.i.i.i.i.i.i.i.i.i32
%.sink240 = phi ptr [ %12, %_ZN9__gnu_cxx27__exchange_and_add_dispatchEPii.exit.i.i.i.i.i.i.i.i.i32 ], [ %12, %_ZN9__gnu_cxx27__exchange_and_add_dispatchEPii.exit.i.i.i.i.i.i.i20 ], [ %12, %delete.notnull.i.i10 ], [ %22, %_ZN9__gnu_cxx27__exchange_and_add_dispatchEPii.exit.i.i.i.i.i.i.i.i.i68 ], [ %22, %_ZN9__gnu_cxx27__exchange_and_add_dispatchEPii.exit.i.i.i.i.i.i.i56 ], [ %22, %delete.notnull.i.i46 ], [ %.sink240.ph, %cleanup.sink.split.sink.split ]
%.sink238 = phi ptr [ %12, %_ZN9__gnu_cxx27__exchange_and_add_dispatchEPii.exit.i.i.i.i.i.i.i.i.i32 ], [ %12, %_ZN9__gnu_cxx27__exchange_and_add_dispatchEPii.exit.i.i.i.i.i.i.i20 ], [ %12, %delete.notnull.i.i10 ], [ %22, %_ZN9__gnu_cxx27__exchange_and_add_dispatchEPii.exit.i.i.i.i.i.i.i.i.i68 ], [ %22, %_ZN9__gnu_cxx27__exchange_and_add_dispatchEPii.exit.i.i.i.i.i.i.i56 ], [ %22, %delete.notnull.i.i46 ], [ %.sink238.ph, %cleanup.sink.split.sink.split ]
%ref.tmp8.sink = phi ptr [ %ref.tmp5, %_ZN9__gnu_cxx27__exchange_and_add_dispatchEPii.exit.i.i.i.i.i.i.i.i.i32 ], [ %ref.tmp5, %_ZN9__gnu_cxx27__exchange_and_add_dispatchEPii.exit.i.i.i.i.i.i.i20 ], [ %ref.tmp5, %delete.notnull.i.i10 ], [ %ref.tmp8, %_ZN9__gnu_cxx27__exchange_and_add_dispatchEPii.exit.i.i.i.i.i.i.i.i.i68 ], [ %ref.tmp8, %_ZN9__gnu_cxx27__exchange_and_add_dispatchEPii.exit.i.i.i.i.i.i.i56 ], [ %ref.tmp8, %delete.notnull.i.i46 ], [ %ref.tmp8.sink.ph, %cleanup.sink.split.sink.split ]
%msg.i.i.i60 = getelementptr inbounds i8, ptr %.sink240, i64 8
%msg.i.i.i60 = getelementptr inbounds i8, ptr %.sink238, i64 8
call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %msg.i.i.i60) #17
call void @_ZdlPv(ptr noundef nonnull %.sink240) #20
call void @_ZdlPv(ptr noundef nonnull %.sink238) #20
store ptr null, ptr %ref.tmp8.sink, align 8
br label %cleanup

Expand Down
11 changes: 4 additions & 7 deletions bench/assimp/optimized/3DSConverter.cpp.ll
Original file line number Diff line number Diff line change
Expand Up @@ -1320,12 +1320,12 @@ if.end41: ; preds = %if.then39, %if.end3
i32 1, label %sw.bb
i32 0, label %sw.bb43
i32 2, label %sw.bb45
i32 3, label %sw.bb46
i32 3, label %sw.bb
i32 4, label %sw.bb47
i32 5, label %sw.bb48
]

sw.bb: ; preds = %if.end41
sw.bb: ; preds = %if.end41, %if.end41
br label %sw.epilog

sw.bb43: ; preds = %if.end41
Expand All @@ -1336,17 +1336,14 @@ sw.bb43: ; preds = %if.end41
sw.bb45: ; preds = %sw.bb43, %if.end41
br label %sw.epilog

sw.bb46: ; preds = %if.end41
br label %sw.epilog

sw.bb47: ; preds = %if.end41
br label %sw.epilog

sw.bb48: ; preds = %if.end41
br label %sw.epilog

sw.epilog: ; preds = %sw.bb48, %sw.bb47, %sw.bb46, %sw.bb45, %sw.bb, %if.end41
%eShading.0 = phi i32 [ 9, %if.end41 ], [ 4, %sw.bb48 ], [ 8, %sw.bb47 ], [ %12, %sw.bb46 ], [ 2, %sw.bb45 ], [ %12, %sw.bb ]
sw.epilog: ; preds = %sw.bb48, %sw.bb47, %sw.bb45, %sw.bb, %if.end41
%eShading.0 = phi i32 [ 9, %if.end41 ], [ 4, %sw.bb48 ], [ 8, %sw.bb47 ], [ 2, %sw.bb45 ], [ %12, %sw.bb ]
store i32 %eShading.0, ptr %eShading_, align 4
%call.i77 = call noundef i32 @_ZN10aiMaterial17AddBinaryPropertyEPKvjPKcjj18aiPropertyTypeInfo(ptr noundef nonnull align 8 dereferenceable(16) %mat, ptr noundef nonnull %eShading_, i32 noundef 4, ptr noundef nonnull @.str.23, i32 noundef 0, i32 noundef 0, i32 noundef 4)
%mMapName = getelementptr inbounds i8, ptr %oldMat, i64 104
Expand Down
59 changes: 28 additions & 31 deletions bench/boost/optimized/algorithm.ll
Original file line number Diff line number Diff line change
Expand Up @@ -33139,7 +33139,7 @@ define dso_local noundef range(i32 -5, 1) i32 @_ZN5boost9unit_test19unit_test_mo

_ZN5boost17execution_monitor8vexecuteERKNS_8functionIFvvEEE.exit: ; preds = %46, %50, %52
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %4) #55
br label %80
br label %79

58: ; preds = %30, %22, %14, %3
%59 = landingpad { ptr, i32 }
Expand All @@ -33151,7 +33151,7 @@ _ZN5boost17execution_monitor8vexecuteERKNS_8functionIFvvEEE.exit: ; preds = %46,
%60 = extractvalue { ptr, i32 } %eh.lpad-body, 1
%61 = call i32 @llvm.eh.typeid.for.p0(ptr nonnull @_ZTIN5boost19execution_exceptionE) #55
%62 = icmp eq i32 %60, %61
br i1 %62, label %63, label %81
br i1 %62, label %63, label %80

63: ; preds = %.body
%64 = extractvalue { ptr, i32 } %eh.lpad-body, 0
Expand All @@ -33169,58 +33169,55 @@ _ZN5boost17execution_monitor8vexecuteERKNS_8functionIFvvEEE.exit: ; preds = %46,

69: ; preds = %68
%70 = load i32, ptr %65, align 8, !tbaa !201
switch i32 %70, label %78 [
i32 0, label %79
switch i32 %70, label %77 [
i32 0, label %78
i32 200, label %73
i32 205, label %74
i32 210, label %75
i32 215, label %76
i32 220, label %77
i32 225, label %77
i32 205, label %73
i32 210, label %74
i32 215, label %75
i32 220, label %76
i32 225, label %76
]

71: ; preds = %68, %66, %63
%72 = landingpad { ptr, i32 }
cleanup
invoke void @__cxa_end_catch()
to label %81 unwind label %82
to label %80 unwind label %81

73: ; preds = %69
br label %79
73: ; preds = %69, %69
br label %78

74: ; preds = %69
br label %79
br label %78

75: ; preds = %69
br label %79

76: ; preds = %69
br label %79
br label %78

77: ; preds = %69, %69
br label %79
76: ; preds = %69, %69
br label %78

78: ; preds = %69
br label %79
77: ; preds = %69
br label %78

79: ; preds = %69, %78, %77, %76, %75, %74, %73
%.0 = phi i32 [ -2, %78 ], [ -5, %77 ], [ -4, %76 ], [ -3, %75 ], [ -2, %74 ], [ -2, %73 ], [ %70, %69 ]
78: ; preds = %69, %77, %76, %75, %74, %73
%.0 = phi i32 [ -2, %77 ], [ -5, %76 ], [ -4, %75 ], [ -3, %74 ], [ -2, %73 ], [ %70, %69 ]
call void @__cxa_end_catch()
br label %80
br label %79

80: ; preds = %_ZN5boost17execution_monitor8vexecuteERKNS_8functionIFvvEEE.exit, %79
%.1 = phi i32 [ %.0, %79 ], [ 0, %_ZN5boost17execution_monitor8vexecuteERKNS_8functionIFvvEEE.exit ]
79: ; preds = %_ZN5boost17execution_monitor8vexecuteERKNS_8functionIFvvEEE.exit, %78
%.1 = phi i32 [ %.0, %78 ], [ 0, %_ZN5boost17execution_monitor8vexecuteERKNS_8functionIFvvEEE.exit ]
ret i32 %.1

81: ; preds = %71, %.body
80: ; preds = %71, %.body
%.merged = phi { ptr, i32 } [ %eh.lpad-body, %.body ], [ %72, %71 ]
resume { ptr, i32 } %.merged

82: ; preds = %71
%83 = landingpad { ptr, i32 }
81: ; preds = %71
%82 = landingpad { ptr, i32 }
catch ptr null
%84 = extractvalue { ptr, i32 } %83, 0
call void @__clang_call_terminate(ptr %84) #56
%83 = extractvalue { ptr, i32 } %82, 0
call void @__clang_call_terminate(ptr %83) #56
unreachable
}

Expand Down
Loading