Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pre-commit: PR110635 #1413

Closed
wants to merge 2 commits into from
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
96 changes: 48 additions & 48 deletions bench/actix-rs/optimized/comsm606o4zjj7a.ll
Original file line number Diff line number Diff line change
Expand Up @@ -2044,8 +2044,8 @@ _ZN4core4iter6traits8iterator8Iterator6reduce17hdaabb60110382e48E.exit232: ; pre
br i1 %186, label %194, label %187

187: ; preds = %181
%188 = sub nsw i16 15, %184
%189 = and i16 %188, 15
%188 = and i16 %184, 15
%189 = xor i16 %188, 15
%.neg.i = shl nsw i16 -1, %189
%190 = add i16 %.neg.i, %183
%191 = shl i16 %190, 3
Expand Down Expand Up @@ -2077,8 +2077,8 @@ _ZN4core4iter6traits8iterator8Iterator6reduce17hdaabb60110382e48E.exit232: ; pre
unreachable

207: ; preds = %196
%208 = sub nsw i16 15, %203
%209 = and i16 %208, 15
%208 = and i16 %203, 15
%209 = xor i16 %208, 15
%.neg14.i = shl nsw i16 -1, %209
%210 = add i16 %.neg14.i, %202
%211 = shl i16 %210, 3
Expand Down Expand Up @@ -2137,8 +2137,8 @@ _ZN4core4iter6traits8iterator8Iterator6reduce17hdaabb60110382e48E.exit232: ; pre
br i1 %236, label %244, label %237

237: ; preds = %231
%238 = sub nsw i16 15, %234
%239 = and i16 %238, 15
%238 = and i16 %234, 15
%239 = xor i16 %238, 15
%.neg.i246 = shl nsw i16 -1, %239
%240 = add i16 %.neg.i246, %233
%241 = shl i16 %240, 3
Expand Down Expand Up @@ -2170,8 +2170,8 @@ _ZN4core4iter6traits8iterator8Iterator6reduce17hdaabb60110382e48E.exit232: ; pre
unreachable

257: ; preds = %246
%258 = sub nsw i16 15, %253
%259 = and i16 %258, 15
%258 = and i16 %253, 15
%259 = xor i16 %258, 15
%.neg14.i249 = shl nsw i16 -1, %259
%260 = add i16 %.neg14.i249, %252
%261 = shl i16 %260, 3
Expand Down Expand Up @@ -2218,8 +2218,8 @@ _ZN4core4iter6traits8iterator8Iterator6reduce17hdaabb60110382e48E.exit232: ; pre
br i1 %279, label %287, label %280

280: ; preds = %274
%281 = sub nsw i16 15, %277
%282 = and i16 %281, 15
%281 = and i16 %277, 15
%282 = xor i16 %281, 15
%.neg.i255 = shl nsw i16 -1, %282
%283 = add i16 %.neg.i255, %276
%284 = shl i16 %283, 3
Expand Down Expand Up @@ -2251,8 +2251,8 @@ _ZN4core4iter6traits8iterator8Iterator6reduce17hdaabb60110382e48E.exit232: ; pre
unreachable

300: ; preds = %289
%301 = sub nsw i16 15, %296
%302 = and i16 %301, 15
%301 = and i16 %296, 15
%302 = xor i16 %301, 15
%.neg14.i258 = shl nsw i16 -1, %302
%303 = add i16 %.neg14.i258, %295
%304 = shl i16 %303, 3
Expand Down Expand Up @@ -2838,8 +2838,8 @@ _ZN4core4iter6traits8iterator8Iterator6reduce17hdaabb60110382e48E.exit232: ; pre
br i1 %464, label %472, label %465

465: ; preds = %459
%466 = sub nsw i16 15, %462
%467 = and i16 %466, 15
%466 = and i16 %462, 15
%467 = xor i16 %466, 15
%.neg.i298 = shl nsw i16 -1, %467
%468 = add i16 %.neg.i298, %461
%469 = shl i16 %468, 3
Expand Down Expand Up @@ -2867,8 +2867,8 @@ _ZN4core4iter6traits8iterator8Iterator6reduce17hdaabb60110382e48E.exit232: ; pre
br i1 %483, label %491, label %484

484: ; preds = %474
%485 = sub nsw i16 15, %481
%486 = and i16 %485, 15
%485 = and i16 %481, 15
%486 = xor i16 %485, 15
%.neg14.i301 = shl nsw i16 -1, %486
%487 = add i16 %.neg14.i301, %480
%488 = shl i16 %487, 3
Expand Down Expand Up @@ -2913,8 +2913,8 @@ _ZN4core4iter6traits8iterator8Iterator6reduce17hdaabb60110382e48E.exit232: ; pre
br i1 %506, label %514, label %507

507: ; preds = %501
%508 = sub nsw i16 15, %504
%509 = and i16 %508, 15
%508 = and i16 %504, 15
%509 = xor i16 %508, 15
%.neg.i310 = shl nsw i16 -1, %509
%510 = add i16 %.neg.i310, %503
%511 = shl i16 %510, 3
Expand Down Expand Up @@ -2942,8 +2942,8 @@ _ZN4core4iter6traits8iterator8Iterator6reduce17hdaabb60110382e48E.exit232: ; pre
br i1 %525, label %533, label %526

526: ; preds = %516
%527 = sub nsw i16 15, %523
%528 = and i16 %527, 15
%527 = and i16 %523, 15
%528 = xor i16 %527, 15
%.neg14.i313 = shl nsw i16 -1, %528
%529 = add i16 %.neg14.i313, %522
%530 = shl i16 %529, 3
Expand Down Expand Up @@ -2988,8 +2988,8 @@ _ZN4core4iter6traits8iterator8Iterator6reduce17hdaabb60110382e48E.exit232: ; pre
br i1 %548, label %556, label %549

549: ; preds = %543
%550 = sub nsw i16 15, %546
%551 = and i16 %550, 15
%550 = and i16 %546, 15
%551 = xor i16 %550, 15
%.neg.i322 = shl nsw i16 -1, %551
%552 = add i16 %.neg.i322, %545
%553 = shl i16 %552, 3
Expand Down Expand Up @@ -3017,8 +3017,8 @@ _ZN4core4iter6traits8iterator8Iterator6reduce17hdaabb60110382e48E.exit232: ; pre
br i1 %567, label %575, label %568

568: ; preds = %558
%569 = sub nsw i16 15, %565
%570 = and i16 %569, 15
%569 = and i16 %565, 15
%570 = xor i16 %569, 15
%.neg14.i325 = shl nsw i16 -1, %570
%571 = add i16 %.neg14.i325, %564
%572 = shl i16 %571, 3
Expand Down Expand Up @@ -3906,8 +3906,8 @@ _ZN4core4iter6traits8iterator8Iterator6reduce17hdaabb60110382e48E.exit232: ; pre
br i1 %186, label %194, label %187

187: ; preds = %181
%188 = sub nsw i16 15, %184
%189 = and i16 %188, 15
%188 = and i16 %184, 15
%189 = xor i16 %188, 15
%.neg.i = shl nsw i16 -1, %189
%190 = add i16 %.neg.i, %183
%191 = shl i16 %190, 3
Expand Down Expand Up @@ -3939,8 +3939,8 @@ _ZN4core4iter6traits8iterator8Iterator6reduce17hdaabb60110382e48E.exit232: ; pre
unreachable

207: ; preds = %196
%208 = sub nsw i16 15, %203
%209 = and i16 %208, 15
%208 = and i16 %203, 15
%209 = xor i16 %208, 15
%.neg14.i = shl nsw i16 -1, %209
%210 = add i16 %.neg14.i, %202
%211 = shl i16 %210, 3
Expand Down Expand Up @@ -3999,8 +3999,8 @@ _ZN4core4iter6traits8iterator8Iterator6reduce17hdaabb60110382e48E.exit232: ; pre
br i1 %236, label %244, label %237

237: ; preds = %231
%238 = sub nsw i16 15, %234
%239 = and i16 %238, 15
%238 = and i16 %234, 15
%239 = xor i16 %238, 15
%.neg.i246 = shl nsw i16 -1, %239
%240 = add i16 %.neg.i246, %233
%241 = shl i16 %240, 3
Expand Down Expand Up @@ -4032,8 +4032,8 @@ _ZN4core4iter6traits8iterator8Iterator6reduce17hdaabb60110382e48E.exit232: ; pre
unreachable

257: ; preds = %246
%258 = sub nsw i16 15, %253
%259 = and i16 %258, 15
%258 = and i16 %253, 15
%259 = xor i16 %258, 15
%.neg14.i249 = shl nsw i16 -1, %259
%260 = add i16 %.neg14.i249, %252
%261 = shl i16 %260, 3
Expand Down Expand Up @@ -4080,8 +4080,8 @@ _ZN4core4iter6traits8iterator8Iterator6reduce17hdaabb60110382e48E.exit232: ; pre
br i1 %279, label %287, label %280

280: ; preds = %274
%281 = sub nsw i16 15, %277
%282 = and i16 %281, 15
%281 = and i16 %277, 15
%282 = xor i16 %281, 15
%.neg.i255 = shl nsw i16 -1, %282
%283 = add i16 %.neg.i255, %276
%284 = shl i16 %283, 3
Expand Down Expand Up @@ -4113,8 +4113,8 @@ _ZN4core4iter6traits8iterator8Iterator6reduce17hdaabb60110382e48E.exit232: ; pre
unreachable

300: ; preds = %289
%301 = sub nsw i16 15, %296
%302 = and i16 %301, 15
%301 = and i16 %296, 15
%302 = xor i16 %301, 15
%.neg14.i258 = shl nsw i16 -1, %302
%303 = add i16 %.neg14.i258, %295
%304 = shl i16 %303, 3
Expand Down Expand Up @@ -4700,8 +4700,8 @@ _ZN4core4iter6traits8iterator8Iterator6reduce17hdaabb60110382e48E.exit232: ; pre
br i1 %464, label %472, label %465

465: ; preds = %459
%466 = sub nsw i16 15, %462
%467 = and i16 %466, 15
%466 = and i16 %462, 15
%467 = xor i16 %466, 15
%.neg.i298 = shl nsw i16 -1, %467
%468 = add i16 %.neg.i298, %461
%469 = shl i16 %468, 3
Expand Down Expand Up @@ -4729,8 +4729,8 @@ _ZN4core4iter6traits8iterator8Iterator6reduce17hdaabb60110382e48E.exit232: ; pre
br i1 %483, label %491, label %484

484: ; preds = %474
%485 = sub nsw i16 15, %481
%486 = and i16 %485, 15
%485 = and i16 %481, 15
%486 = xor i16 %485, 15
%.neg14.i301 = shl nsw i16 -1, %486
%487 = add i16 %.neg14.i301, %480
%488 = shl i16 %487, 3
Expand Down Expand Up @@ -4775,8 +4775,8 @@ _ZN4core4iter6traits8iterator8Iterator6reduce17hdaabb60110382e48E.exit232: ; pre
br i1 %506, label %514, label %507

507: ; preds = %501
%508 = sub nsw i16 15, %504
%509 = and i16 %508, 15
%508 = and i16 %504, 15
%509 = xor i16 %508, 15
%.neg.i310 = shl nsw i16 -1, %509
%510 = add i16 %.neg.i310, %503
%511 = shl i16 %510, 3
Expand Down Expand Up @@ -4804,8 +4804,8 @@ _ZN4core4iter6traits8iterator8Iterator6reduce17hdaabb60110382e48E.exit232: ; pre
br i1 %525, label %533, label %526

526: ; preds = %516
%527 = sub nsw i16 15, %523
%528 = and i16 %527, 15
%527 = and i16 %523, 15
%528 = xor i16 %527, 15
%.neg14.i313 = shl nsw i16 -1, %528
%529 = add i16 %.neg14.i313, %522
%530 = shl i16 %529, 3
Expand Down Expand Up @@ -4850,8 +4850,8 @@ _ZN4core4iter6traits8iterator8Iterator6reduce17hdaabb60110382e48E.exit232: ; pre
br i1 %548, label %556, label %549

549: ; preds = %543
%550 = sub nsw i16 15, %546
%551 = and i16 %550, 15
%550 = and i16 %546, 15
%551 = xor i16 %550, 15
%.neg.i322 = shl nsw i16 -1, %551
%552 = add i16 %.neg.i322, %545
%553 = shl i16 %552, 3
Expand Down Expand Up @@ -4879,8 +4879,8 @@ _ZN4core4iter6traits8iterator8Iterator6reduce17hdaabb60110382e48E.exit232: ; pre
br i1 %567, label %575, label %568

568: ; preds = %558
%569 = sub nsw i16 15, %565
%570 = and i16 %569, 15
%569 = and i16 %565, 15
%570 = xor i16 %569, 15
%.neg14.i325 = shl nsw i16 -1, %570
%571 = add i16 %.neg14.i325, %564
%572 = shl i16 %571, 3
Expand Down
16 changes: 8 additions & 8 deletions bench/clamav/optimized/readdb.c.ll
Original file line number Diff line number Diff line change
Expand Up @@ -7277,19 +7277,19 @@ define internal fastcc i32 @cli_loadign(ptr noundef %0, ptr nocapture noundef %1
br i1 %45, label %46, label %.loopexit

46: ; preds = %44
%47 = sub i64 3, %41
%.not78 = icmp eq ptr %.058, %5
br i1 %.not78, label %.lr.ph.preheader, label %48
br i1 %.not78, label %.lr.ph.preheader, label %47

48: ; preds = %46
%49 = and i64 %41, 3
call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 16 %5, ptr align 1 %.058, i64 %49, i1 false)
47: ; preds = %46
%48 = and i64 %41, 3
call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 16 %5, ptr align 1 %.058, i64 %48, i1 false)
br label %.lr.ph.preheader

.lr.ph.preheader: ; preds = %46, %48
%.260 = phi ptr [ %5, %48 ], [ %.058, %46 ]
.lr.ph.preheader: ; preds = %46, %47
%.260 = phi ptr [ %5, %47 ], [ %.058, %46 ]
store i8 0, ptr %21, align 1
%50 = and i64 %47, 3
%49 = and i64 %41, 3
%50 = xor i64 %49, 3
br label %.lr.ph

.lr.ph: ; preds = %.lr.ph.preheader, %.lr.ph
Expand Down
4 changes: 2 additions & 2 deletions bench/cmake/optimized/index.c.ll
Original file line number Diff line number Diff line change
Expand Up @@ -292,8 +292,8 @@ define dso_local range(i32 0, 4) i32 @lzma_index_padding_size(ptr nocapture noun
%6 = tail call i32 @lzma_vli_size(i64 noundef %3) #17
%7 = trunc i64 %5 to i32
%8 = add i32 %6, %7
%9 = sub i32 3, %8
%10 = and i32 %9, 3
%9 = and i32 %8, 3
%10 = xor i32 %9, 3
ret i32 %10
}

Expand Down
52 changes: 26 additions & 26 deletions bench/darktable/optimized/print_settings.c.ll
Original file line number Diff line number Diff line change
Expand Up @@ -1465,24 +1465,24 @@ define noundef i32 @button_pressed(ptr nocapture noundef readonly %0, double nou

105: ; preds = %103
%106 = getelementptr inbounds i8, ptr %101, i64 1352
%107 = sub nsw i64 3, %95
%108 = and i64 %107, 3
%109 = icmp eq i64 %108, 0
br i1 %109, label %.loopexit4, label %.preheader3
%107 = and i64 %95, 3
%108 = icmp eq i64 %107, 3
br i1 %108, label %.loopexit4, label %.preheader3

.preheader3: ; preds = %105, %.preheader3
%110 = phi i64 [ %113, %.preheader3 ], [ %95, %105 ]
%111 = phi i64 [ %115, %.preheader3 ], [ 0, %105 ]
%112 = getelementptr inbounds [20 x %struct._image_box], ptr %106, i64 0, i64 %110
%113 = add nsw i64 %110, 1
%114 = getelementptr inbounds [20 x %struct._image_box], ptr %106, i64 0, i64 %113
tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %112, ptr noundef nonnull align 8 dereferenceable(96) %114, i64 96, i1 false)
%115 = add nuw nsw i64 %111, 1
%116 = icmp eq i64 %115, %108
%109 = phi i64 [ %112, %.preheader3 ], [ %95, %105 ]
%110 = phi i64 [ %114, %.preheader3 ], [ 0, %105 ]
%111 = getelementptr inbounds [20 x %struct._image_box], ptr %106, i64 0, i64 %109
%112 = add nsw i64 %109, 1
%113 = getelementptr inbounds [20 x %struct._image_box], ptr %106, i64 0, i64 %112
tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %111, ptr noundef nonnull align 8 dereferenceable(96) %113, i64 96, i1 false)
%114 = add i64 %110, 1
%115 = xor i64 %114, %107
%116 = icmp eq i64 %115, 3
br i1 %116, label %.loopexit4, label %.preheader3, !llvm.loop !85

.loopexit4: ; preds = %.preheader3, %105
%117 = phi i64 [ %95, %105 ], [ %113, %.preheader3 ]
%117 = phi i64 [ %95, %105 ], [ %112, %.preheader3 ]
%118 = add nsw i64 %95, -16
%119 = icmp ult i64 %118, 3
br i1 %119, label %.loopexit, label %.preheader
Expand Down Expand Up @@ -4693,24 +4693,24 @@ define internal void @_page_delete_area_clicked(ptr nocapture readnone %0, ptr n
10: ; preds = %8
%11 = getelementptr inbounds i8, ptr %4, i64 1352
%12 = sext i32 %6 to i64
%13 = sub nsw i64 3, %12
%14 = and i64 %13, 3
%15 = icmp eq i64 %14, 0
br i1 %15, label %.loopexit2, label %.preheader1
%13 = and i64 %12, 3
%14 = icmp eq i64 %13, 3
br i1 %14, label %.loopexit2, label %.preheader1

.preheader1: ; preds = %10, %.preheader1
%16 = phi i64 [ %19, %.preheader1 ], [ %12, %10 ]
%17 = phi i64 [ %21, %.preheader1 ], [ 0, %10 ]
%18 = getelementptr inbounds [20 x %struct._image_box], ptr %11, i64 0, i64 %16
%19 = add nsw i64 %16, 1
%20 = getelementptr inbounds [20 x %struct._image_box], ptr %11, i64 0, i64 %19
tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %18, ptr noundef nonnull align 8 dereferenceable(96) %20, i64 96, i1 false)
%21 = add nuw nsw i64 %17, 1
%22 = icmp eq i64 %21, %14
%15 = phi i64 [ %18, %.preheader1 ], [ %12, %10 ]
%16 = phi i64 [ %20, %.preheader1 ], [ 0, %10 ]
%17 = getelementptr inbounds [20 x %struct._image_box], ptr %11, i64 0, i64 %15
%18 = add nsw i64 %15, 1
%19 = getelementptr inbounds [20 x %struct._image_box], ptr %11, i64 0, i64 %18
tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(96) %17, ptr noundef nonnull align 8 dereferenceable(96) %19, i64 96, i1 false)
%20 = add i64 %16, 1
%21 = xor i64 %20, %13
%22 = icmp eq i64 %21, 3
br i1 %22, label %.loopexit2, label %.preheader1, !llvm.loop !159

.loopexit2: ; preds = %.preheader1, %10
%23 = phi i64 [ %12, %10 ], [ %19, %.preheader1 ]
%23 = phi i64 [ %12, %10 ], [ %18, %.preheader1 ]
%24 = add nsw i64 %12, -16
%25 = icmp ult i64 %24, 3
br i1 %25, label %.loopexit, label %.preheader
Expand Down
Loading