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
7 changes: 1 addition & 6 deletions bench/abc/optimized/abcSop.ll
Original file line number Diff line number Diff line change
Expand Up @@ -2486,10 +2486,8 @@ Vec_IntPush.exit: ; preds = %Vec_IntPush.exit.si

.lr.ph103: ; preds = %79
%88 = zext nneg i32 %8 to i64
%umax = tail call i32 @llvm.umax.i32(i32 %8, i32 1)
%89 = zext nneg i32 %80 to i64
%wide.trip.count114 = zext nneg i32 %.val94.pre.fr to i64
%wide.trip.count109 = zext nneg i32 %umax to i64
br label %90

90: ; preds = %.lr.ph103, %100
Expand All @@ -2510,7 +2508,7 @@ Vec_IntPush.exit: ; preds = %Vec_IntPush.exit.si
%99 = getelementptr inbounds nuw i8, ptr %94, i64 %indvars.iv106
store i8 %spec.select129, ptr %99, align 1, !tbaa !3
%indvars.iv.next107 = add nuw nsw i64 %indvars.iv106, 1
%exitcond110.not = icmp eq i64 %indvars.iv.next107, %wide.trip.count109
%exitcond110.not = icmp eq i64 %indvars.iv.next107, %88
br i1 %exitcond110.not, label %100, label %95, !llvm.loop !57

100: ; preds = %95
Expand Down Expand Up @@ -4390,9 +4388,6 @@ declare i32 @llvm.smax.i32(i32, i32) #19
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.ctlz.i32(i32, i1 immarg) #19

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i32 @llvm.umax.i32(i32, i32) #19

attributes #0 = { nounwind uwtable "min-legal-vector-width"="0" "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
attributes #1 = { mustprogress nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #2 = { "no-trapping-math"="true" "stack-protector-buffer-size"="8" "target-cpu"="x86-64" "target-features"="+cmov,+cx8,+fxsr,+mmx,+sse,+sse2,+x87" "tune-cpu"="generic" }
Expand Down
8 changes: 3 additions & 5 deletions bench/abc/optimized/absRpm.ll
Original file line number Diff line number Diff line change
Expand Up @@ -2923,7 +2923,6 @@ define i32 @Abs_ManSupport3(ptr noundef %0, ptr noundef %1, ptr noundef captures
%62 = getelementptr inbounds i8, ptr %53, i64 %61
%63 = load i32, ptr %62, align 4, !tbaa !30
%.not124 = icmp eq i32 %63, %56
%wide.trip.count.i = zext nneg i32 %.pr to i64
br i1 %.not124, label %.lr.ph.i, label %.lr.ph.i80

.lr.ph.i: ; preds = %58, %67
Expand All @@ -2935,7 +2934,7 @@ define i32 @Abs_ManSupport3(ptr noundef %0, ptr noundef %1, ptr noundef captures

67: ; preds = %.lr.ph.i
%indvars.iv.next.i = add nuw nsw i64 %indvars.iv.i, 1
%exitcond.not.i = icmp eq i64 %indvars.iv.next.i, %wide.trip.count.i
%exitcond.not.i = icmp eq i64 %indvars.iv.next.i, %wide.trip.count
br i1 %exitcond.not.i, label %.critedge54thread-pre-split, label %.lr.ph.i, !llvm.loop !74

._crit_edge.i: ; preds = %.lr.ph.i
Expand Down Expand Up @@ -2981,7 +2980,7 @@ define i32 @Abs_ManSupport3(ptr noundef %0, ptr noundef %1, ptr noundef captures

84: ; preds = %.lr.ph.i80
%indvars.iv.next.i83 = add nuw nsw i64 %indvars.iv.i82, 1
%exitcond.not.i84 = icmp eq i64 %indvars.iv.next.i83, %wide.trip.count.i
%exitcond.not.i84 = icmp eq i64 %indvars.iv.next.i83, %wide.trip.count
br i1 %exitcond.not.i84, label %Vec_IntRemove.exit86, label %.lr.ph.i80, !llvm.loop !74

._crit_edge.i69: ; preds = %.lr.ph.i80
Expand Down Expand Up @@ -3071,7 +3070,6 @@ Vec_IntRemove.exit86: ; preds = %84, %._crit_edge.i6
%123 = sub nsw i64 0, %48
%124 = getelementptr inbounds %struct.Gia_Obj_t_, ptr %44, i64 %123
%125 = ptrtoint ptr %124 to i64
%wide.trip.count.i103 = zext nneg i32 %.pr to i64
br label %126

126: ; preds = %130, %.lr.ph.i102
Expand All @@ -3083,7 +3081,7 @@ Vec_IntRemove.exit86: ; preds = %84, %._crit_edge.i6

130: ; preds = %126
%indvars.iv.next.i105 = add nuw nsw i64 %indvars.iv.i104, 1
%exitcond.not.i106 = icmp eq i64 %indvars.iv.next.i105, %wide.trip.count.i103
%exitcond.not.i106 = icmp eq i64 %indvars.iv.next.i105, %wide.trip.count
br i1 %exitcond.not.i106, label %Vec_IntRemove.exit108, label %126, !llvm.loop !74

._crit_edge.i91: ; preds = %126
Expand Down
19 changes: 8 additions & 11 deletions bench/abc/optimized/ac_wrapper.ll
Original file line number Diff line number Diff line change
Expand Up @@ -12545,13 +12545,12 @@ _ZN3acd10acdXX_impl16check_shared_setERKN5kitty18static_truth_tableILj11ELb0EEE.
213: ; preds = %_ZN3acd10acdXX_impl16check_shared_setERKN5kitty18static_truth_tableILj11ELb0EEE.exit139
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(256) %13, ptr noundef nonnull align 8 dereferenceable(256) %10, i64 256, i1 false), !tbaa.struct !92
%214 = getelementptr inbounds nuw i8, ptr %0, i64 588
%umax = call i32 @llvm.umax.i32(i32 %123, i32 1)
%wide.trip.count234 = zext i32 %umax to i64
%wide.trip.count234 = zext i32 %123 to i64
br label %228

.preheader: ; preds = %228
%215 = shl nuw nsw i64 %wide.trip.count234, 2
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(1) %214, ptr noundef nonnull align 16 dereferenceable(1) %12, i64 %215, i1 false), !tbaa !41
call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 4 %214, ptr nonnull align 16 %12, i64 %215, i1 false), !tbaa !41
%216 = trunc i32 %.0713.i135 to i8
%217 = trunc i32 %123 to i8
%218 = add i8 %217, -1
Expand Down Expand Up @@ -15336,10 +15335,9 @@ _ZN3acd10acd66_impl16check_shared_setERKN5kitty18static_truth_tableILj11ELb0EEE.
%95 = getelementptr inbounds nuw i8, ptr %0, i64 16
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(256) %95, ptr noundef nonnull align 8 dereferenceable(256) %6, i64 256, i1 false), !tbaa.struct !92
%96 = getelementptr inbounds nuw i8, ptr %0, i64 576
%97 = call i32 @llvm.umax.i32(i32 %23, i32 1)
%umax = zext i32 %97 to i64
%98 = shl nuw nsw i64 %umax, 2
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(1) %96, ptr noundef nonnull align 16 dereferenceable(1) %7, i64 %98, i1 false), !tbaa !41
%97 = zext i32 %23 to i64
%98 = shl nuw nsw i64 %97, 2
call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 8 %96, ptr nonnull align 16 %7, i64 %98, i1 false), !tbaa !41
%99 = trunc i32 %.0713.i to i8
%100 = trunc i32 %23 to i8
%101 = add i8 %100, -1
Expand Down Expand Up @@ -17222,10 +17220,9 @@ _ZN3acd10acdXX_impl16check_shared_setERKN5kitty18static_truth_tableILj11ELb0EEE.
%107 = getelementptr inbounds nuw i8, ptr %0, i64 16
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(256) %107, ptr noundef nonnull align 8 dereferenceable(256) %6, i64 256, i1 false), !tbaa.struct !92
%108 = getelementptr inbounds nuw i8, ptr %0, i64 588
%109 = call i32 @llvm.umax.i32(i32 %23, i32 1)
%umax = zext i32 %109 to i64
%110 = shl nuw nsw i64 %umax, 2
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 4 dereferenceable(1) %108, ptr noundef nonnull align 16 dereferenceable(1) %7, i64 %110, i1 false), !tbaa !41
%109 = zext i32 %23 to i64
%110 = shl nuw nsw i64 %109, 2
call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 4 %108, ptr nonnull align 16 %7, i64 %110, i1 false), !tbaa !41
%111 = trunc i32 %.0713.i to i8
%112 = trunc i32 %23 to i8
%113 = add i8 %112, -1
Expand Down
5 changes: 1 addition & 4 deletions bench/abseil-cpp/optimized/usage.ll
Original file line number Diff line number Diff line change
Expand Up @@ -3816,13 +3816,10 @@ _ZNKSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEE11_M_is_localEv.exit.i.i.i

_ZNKSt6vectorISt17basic_string_viewIcSt11char_traitsIcEESaIS3_EE12_M_check_lenEmPKc.exit.i: ; preds = %102
%108 = ashr exact i64 %105, 4
%.sroa.speculated.i.i132 = call i64 @llvm.umax.i64(i64 %108, i64 1)
%109 = add nsw i64 %.sroa.speculated.i.i132, %108
%109 = ashr exact i64 %105, 3
%110 = icmp ult i64 %109, %108
%111 = call i64 @llvm.umin.i64(i64 %109, i64 576460752303423487)
%112 = select i1 %110, i64 576460752303423487, i64 %111
%.not.i.i133 = icmp ne i64 %112, 0
call void @llvm.assume(i1 %.not.i.i133)
%113 = shl nuw nsw i64 %112, 4
%114 = invoke noalias noundef nonnull ptr @_Znwm(i64 noundef %113) #29
to label %.noexc135 unwind label %.loopexit185
Expand Down
6 changes: 1 addition & 5 deletions bench/actix-rs/optimized/comsm606o4zjj7a.ll
Original file line number Diff line number Diff line change
Expand Up @@ -14648,7 +14648,6 @@ common.resume: ; preds = %43, %"_ZN63_$LT$all
call void @_ZN6brotli3enc17brotli_bit_stream15BrotliWriteBits17h449729164f2b6cc0E(i8 noundef 2, i64 noundef 1, ptr noalias noundef nonnull align 8 dereferenceable(8) %9, ptr noalias noundef nonnull align 1 %10, i64 noundef %11)
%82 = add nsw i64 %.1129, -1
call void @_ZN6brotli3enc17brotli_bit_stream15BrotliWriteBits17h449729164f2b6cc0E(i8 noundef 2, i64 noundef %82, ptr noalias noundef nonnull align 8 dereferenceable(8) %9, ptr noalias noundef nonnull align 1 %10, i64 noundef %11)
%umax = call i64 @llvm.umax.i64(i64 %.1129, i64 1)
br label %143

.split: ; preds = %.split387, %.loopexit265
Expand Down Expand Up @@ -14787,7 +14786,7 @@ common.resume: ; preds = %43, %"_ZN63_$LT$all
unreachable

.loopexit: ; preds = %177, %143
%exitcond484.not = icmp eq i64 %144, %umax
%exitcond484.not = icmp eq i64 %144, %.1129
br i1 %exitcond484.not, label %138, label %143

138: ; preds = %.loopexit
Expand Down Expand Up @@ -16338,9 +16337,6 @@ declare void @llvm.experimental.noalias.scope.decl(metadata) #18
; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i8 @llvm.umax.i8(i8, i8) #19

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.umax.i64(i64, i64) #19

; Function Attrs: nocallback nofree nosync nounwind speculatable willreturn memory(none)
declare i64 @llvm.usub.sat.i64(i64, i64) #19

Expand Down
75 changes: 37 additions & 38 deletions bench/arrow/optimized/arena.ll
Original file line number Diff line number Diff line change
Expand Up @@ -136,48 +136,47 @@ define internal fastcc ptr @mi_arena_allocate(i32 noundef %0, i64 noundef range(
br i1 %exitcond.not, label %.thread84, label %.preheader, !llvm.loop !21

.thread84: ; preds = %.preheader, %.thread
%umax = tail call i64 @llvm.umax.i64(i64 %9, i64 1)
br label %32

32: ; preds = %.thread84, %.thread93
%.065109 = phi i64 [ 0, %.thread84 ], [ %50, %.thread93 ]
%33 = getelementptr inbounds nuw [64 x ptr], ptr @mi_arenas, i64 0, i64 %.065109
%34 = load atomic i64, ptr %33 monotonic, align 8
%35 = inttoptr i64 %34 to ptr
%36 = icmp eq i64 %34, 0
br i1 %36, label %.thread88, label %37

37: ; preds = %32
%38 = getelementptr inbounds nuw i8, ptr %35, i64 24
%39 = load i32, ptr %38, align 8, !tbaa !18
%40 = icmp slt i32 %39, 0
%.not73 = icmp eq i32 %39, %0
%or.cond75 = or i1 %40, %.not73
br i1 %or.cond75, label %.thread93, label %41

41: ; preds = %37
%42 = load i8, ptr %3, align 1, !tbaa !7, !range !12, !noundef !13
%43 = trunc nuw i8 %42 to i1
br i1 %43, label %48, label %44

44: ; preds = %41
%45 = getelementptr inbounds nuw i8, ptr %35, i64 30
%46 = load i8, ptr %45, align 2, !tbaa !20, !range !12, !noundef !13
%47 = trunc nuw i8 %46 to i1
br i1 %47, label %.thread93, label %48

48: ; preds = %41, %44
%49 = tail call fastcc ptr @mi_arena_alloc_from(ptr noundef %35, i64 noundef %.065109, i64 noundef %11, ptr noundef %2, ptr noundef nonnull %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7)
%.not74 = icmp eq ptr %49, null
br label %.thread84

.thread84: ; preds = %.thread84.preheader, %.thread93
%.065109 = phi i64 [ %49, %.thread93 ], [ 0, %.thread84.preheader ]
%32 = getelementptr inbounds nuw [64 x ptr], ptr @mi_arenas, i64 0, i64 %.065109
%33 = load atomic i64, ptr %32 monotonic, align 8
%34 = inttoptr i64 %33 to ptr
%35 = icmp eq i64 %33, 0
br i1 %35, label %.thread88, label %36

36: ; preds = %.thread84
%37 = getelementptr inbounds nuw i8, ptr %34, i64 24
%38 = load i32, ptr %37, align 8, !tbaa !18
%39 = icmp slt i32 %38, 0
%40 = icmp eq i32 %38, %0
%or.cond75 = or i1 %39, %40
br i1 %or.cond75, label %.thread93, label %40

40: ; preds = %36
%41 = load i8, ptr %3, align 1, !tbaa !7, !range !12, !noundef !13
%42 = trunc nuw i8 %41 to i1
br i1 %42, label %47, label %43

43: ; preds = %40
%44 = getelementptr inbounds nuw i8, ptr %34, i64 30
%45 = load i8, ptr %44, align 2, !tbaa !20, !range !12, !noundef !13
%46 = trunc nuw i8 %45 to i1
br i1 %46, label %.thread93, label %47

47: ; preds = %40, %43
%48 = tail call fastcc ptr @mi_arena_alloc_from(ptr noundef %34, i64 noundef %.065109, i64 noundef %11, ptr noundef %2, ptr noundef nonnull %3, ptr noundef %4, ptr noundef %5, ptr noundef %6, ptr noundef %7)
%.not74 = icmp eq ptr %48, null
br i1 %.not74, label %.thread93, label %.thread88

.thread93: ; preds = %37, %44, %48
.thread93: ; preds = %36, %43, %47
%50 = add nuw i64 %.065109, 1
%exitcond111.not = icmp eq i64 %50, %umax
br i1 %exitcond111.not, label %.thread88, label %32, !llvm.loop !23
%exitcond111.not = icmp eq i64 %50, %9
br i1 %exitcond111.not, label %.thread88, label %.thread84, !llvm.loop !23

.thread88: ; preds = %29, %32, %48, %.thread93, %8
%.0 = phi ptr [ null, %8 ], [ null, %32 ], [ null, %.thread93 ], [ %49, %48 ], [ %30, %29 ]
.thread88: ; preds = %29, %.thread84, %47, %.thread93, %8
%.0 = phi ptr [ null, %8 ], [ null, %.thread84 ], [ null, %.thread93 ], [ %48, %47 ], [ %30, %29 ]
ret ptr %.0
}

Expand Down
3 changes: 1 addition & 2 deletions bench/arrow/optimized/exec.ll
Original file line number Diff line number Diff line change
Expand Up @@ -6486,7 +6486,6 @@ _ZNKSt6vectorIN5arrow5DatumESaIS1_EE2atEm.exit.lr.ph: ; preds = %158
%170 = load ptr, ptr %169, align 8
%171 = getelementptr inbounds nuw i8, ptr %0, i64 64
%172 = load ptr, ptr %171, align 8
%umax = tail call i64 @llvm.umax.i64(i64 %167, i64 1)
br label %_ZNKSt6vectorIN5arrow5DatumESaIS1_EE2atEm.exit

._crit_edge63: ; preds = %200, %158
Expand Down Expand Up @@ -6541,7 +6540,7 @@ _ZN5arrow9ArraySpan8SetSliceEll.exit: ; preds = %177, %192

200: ; preds = %_ZN5arrow9ArraySpan8SetSliceEll.exit, %_ZNKSt6vectorIN5arrow5DatumESaIS1_EE2atEm.exit
%201 = add nuw i64 %.04962, 1
%exitcond.not = icmp eq i64 %201, %umax
%exitcond.not = icmp eq i64 %201, %167
br i1 %exitcond.not, label %._crit_edge63, label %_ZNKSt6vectorIN5arrow5DatumESaIS1_EE2atEm.exit, !llvm.loop !298

202: ; preds = %140, %._crit_edge63
Expand Down
Loading