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: PR109131 #1968

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
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
1 change: 1 addition & 0 deletions bench/actix-rs/optimized/19s5ghr2x6s6bmh4.ll
Original file line number Diff line number Diff line change
Expand Up @@ -6514,6 +6514,7 @@ _ZN10actix_http9responses4head17BoxedResponseHead3new17h5f863da7d7dfb636E.exit:
%60 = and i8 %59, -17
%.sink.i = or disjoint i8 %60, %57
store i8 %.sink.i, ptr %58, align 2, !alias.scope !948
call void @llvm.assume(i1 true) [ "align"(ptr %48, i64 8) ]
store i64 1, ptr %0, align 8
%61 = getelementptr inbounds nuw i8, ptr %0, i64 8
store ptr %48, ptr %61, align 8
Expand Down
12 changes: 12 additions & 0 deletions bench/actix-rs/optimized/2o6s6qtmif526itx.ll
Original file line number Diff line number Diff line change
Expand Up @@ -1269,6 +1269,7 @@ _ZN12tracing_core8callsite15DefaultCallsite8interest17hfb4783fc25b01e0cE.exit.th
br i1 %.not5.i, label %214, label %.noexc605

.noexc605: ; preds = %190
call void @llvm.assume(i1 true) [ "align"(ptr %192, i64 8) ]
call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %16), !noalias !237
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15), !noalias !237
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %14), !noalias !237
Expand Down Expand Up @@ -1981,6 +1982,7 @@ _ZN12tracing_core8callsite15DefaultCallsite8interest17hfb4783fc25b01e0cE.exit647
br i1 %.not5.i.i, label %"_ZN4core3ptr43drop_in_place$LT$tracing..span..Entered$GT$17h889725038ea60eb3E.exit", label %429

429: ; preds = %426
call void @llvm.assume(i1 true) [ "align"(ptr %428, i64 8) ], !noalias !307
call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %8), !noalias !310
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %7), !noalias !310
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %6), !noalias !310
Expand Down Expand Up @@ -2036,6 +2038,7 @@ _ZN12tracing_core8callsite15DefaultCallsite8interest17hfb4783fc25b01e0cE.exit647
br i1 %.not5.i.i692, label %"_ZN4core3ptr43drop_in_place$LT$tracing..span..Entered$GT$17h889725038ea60eb3E.exit695", label %449

449: ; preds = %446
call void @llvm.assume(i1 true) [ "align"(ptr %448, i64 8) ], !noalias !320
call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5), !noalias !323
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4), !noalias !323
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3), !noalias !323
Expand Down Expand Up @@ -4217,6 +4220,7 @@ _ZN12tracing_core8callsite15DefaultCallsite8interest17hfb4783fc25b01e0cE.exit.th
br i1 %.not5.i, label %_ZN7tracing4span4Span8do_enter17h91d8a15bd4cd068fE.exit, label %.noexc245

.noexc245: ; preds = %85
call void @llvm.assume(i1 true) [ "align"(ptr %87, i64 8) ]
call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %17), !noalias !383
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16), !noalias !383
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15), !noalias !383
Expand Down Expand Up @@ -4856,6 +4860,7 @@ _ZN12tracing_core8callsite15DefaultCallsite8interest17hfb4783fc25b01e0cE.exit285
br i1 %.not5.i.i, label %"_ZN4core3ptr43drop_in_place$LT$tracing..span..Entered$GT$17h889725038ea60eb3E.exit", label %301

301: ; preds = %298
call void @llvm.assume(i1 true) [ "align"(ptr %300, i64 8) ], !noalias !401
call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %10), !noalias !404
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9), !noalias !404
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8), !noalias !404
Expand Down Expand Up @@ -5172,6 +5177,7 @@ _ZN12tracing_core8callsite15DefaultCallsite8interest17hfb4783fc25b01e0cE.exit310
br i1 %.not5.i.i333, label %"_ZN4core3ptr43drop_in_place$LT$tracing..span..Entered$GT$17h889725038ea60eb3E.exit", label %419

419: ; preds = %416
call void @llvm.assume(i1 true) [ "align"(ptr %418, i64 8) ], !noalias !423
call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5), !noalias !426
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4), !noalias !426
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3), !noalias !426
Expand Down Expand Up @@ -5365,6 +5371,7 @@ _ZN12tracing_core8callsite15DefaultCallsite8interest17hfb4783fc25b01e0cE.exit.th
br i1 %.not5.i, label %_ZN7tracing4span4Span8do_enter17h91d8a15bd4cd068fE.exit, label %.noexc243

.noexc243: ; preds = %85
call void @llvm.assume(i1 true) [ "align"(ptr %87, i64 8) ]
call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %17), !noalias !433
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %16), !noalias !433
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %15), !noalias !433
Expand Down Expand Up @@ -6004,6 +6011,7 @@ _ZN12tracing_core8callsite15DefaultCallsite8interest17hfb4783fc25b01e0cE.exit283
br i1 %.not5.i.i, label %"_ZN4core3ptr43drop_in_place$LT$tracing..span..Entered$GT$17h889725038ea60eb3E.exit", label %301

301: ; preds = %298
call void @llvm.assume(i1 true) [ "align"(ptr %300, i64 8) ], !noalias !451
call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %10), !noalias !454
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %9), !noalias !454
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %8), !noalias !454
Expand Down Expand Up @@ -6300,6 +6308,7 @@ _ZN12tracing_core8callsite15DefaultCallsite8interest17hfb4783fc25b01e0cE.exit308
br i1 %.not5.i.i330, label %"_ZN4core3ptr43drop_in_place$LT$tracing..span..Entered$GT$17h889725038ea60eb3E.exit", label %408

408: ; preds = %405
call void @llvm.assume(i1 true) [ "align"(ptr %407, i64 8) ], !noalias !467
call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %5), !noalias !470
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %4), !noalias !470
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3), !noalias !470
Expand Down Expand Up @@ -6837,6 +6846,7 @@ define internal fastcc void @"_ZN4core3ptr40drop_in_place$LT$tracing..span..Span
br i1 %.not5.i, label %"_ZN61_$LT$tracing..span..Span$u20$as$u20$core..ops..drop..Drop$GT$4drop17hbd4300378b7ab871E.exit", label %.noexc3

.noexc3: ; preds = %12
call void @llvm.assume(i1 true) [ "align"(ptr %14, i64 8) ]
call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %4), !noalias !525
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3), !noalias !525
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2), !noalias !525
Expand Down Expand Up @@ -6948,6 +6958,7 @@ define internal fastcc void @"_ZN4core3ptr43drop_in_place$LT$tracing..span..Ente
br i1 %.not5.i, label %_ZN7tracing4span4Span7do_exit17h4f552562a4ef1f62E.exit, label %14

14: ; preds = %11
call void @llvm.assume(i1 true) [ "align"(ptr %13, i64 8) ], !noalias !556
call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %3), !noalias !559
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %2), !noalias !559
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %1), !noalias !559
Expand Down Expand Up @@ -7468,6 +7479,7 @@ define internal fastcc void @_ZN7tracing4span4Span3log17h8de998eae76ae2c4E(ptr n
br i1 %.not, label %18, label %12

12: ; preds = %4
call void @llvm.assume(i1 true) [ "align"(ptr %11, i64 8) ]
%13 = load i64, ptr %11, align 8, !range !627, !noundef !10
%switch.tableidx = add nsw i64 %13, -1
%14 = icmp ult i64 %switch.tableidx, 4
Expand Down
18 changes: 11 additions & 7 deletions bench/actix-rs/optimized/4pmtvrahn6eloepe.ll
Original file line number Diff line number Diff line change
Expand Up @@ -5381,24 +5381,26 @@ define internal fastcc noundef i64 @_ZN6brotli3enc19backward_references2hq11Upda
%39 = fadd float %36, %38
%40 = getelementptr inbounds nuw i8, ptr %34, i64 16
%41 = load i64, ptr %40, align 8, !noundef !13
call void @llvm.assume(i1 true) [ "align"(ptr %.val165, i64 4) ]
%42 = icmp ult i64 %2, %.val166
br i1 %42, label %43, label %46, !prof !217
br i1 %42, label %43, label %47, !prof !217

43: ; preds = %17
%44 = getelementptr inbounds [0 x float], ptr %.val165, i64 0, i64 %2
%45 = icmp ult i64 %41, %.val166
br i1 %45, label %_ZN6brotli3enc19backward_references2hq30ZopfliCostModelGetLiteralCosts17h82ae77380cc67f69E.exit, label %47, !prof !217
%45 = load float, ptr %44, align 4, !noundef !13
call void @llvm.assume(i1 true) [ "align"(ptr %.val165, i64 4) ]
%46 = icmp ult i64 %41, %.val166
br i1 %46, label %_ZN6brotli3enc19backward_references2hq30ZopfliCostModelGetLiteralCosts17h82ae77380cc67f69E.exit, label %48, !prof !217

46: ; preds = %17
47: ; preds = %17
tail call void @_ZN4core9panicking18panic_bounds_check17h5aa5e8a957e001f9E(i64 noundef %2, i64 noundef %.val166, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.854811f44bca550c56cb6f681a6a9a44.194) #31
unreachable

47: ; preds = %43
48: ; preds = %43
tail call void @_ZN4core9panicking18panic_bounds_check17h5aa5e8a957e001f9E(i64 noundef %41, i64 noundef %.val166, ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.854811f44bca550c56cb6f681a6a9a44.195) #31
unreachable

_ZN6brotli3enc19backward_references2hq30ZopfliCostModelGetLiteralCosts17h82ae77380cc67f69E.exit: ; preds = %43
%48 = load float, ptr %44, align 4, !noundef !13
%49 = getelementptr inbounds [0 x float], ptr %.val165, i64 0, i64 %41
%50 = load float, ptr %49, align 4, !noundef !13
tail call void @llvm.experimental.noalias.scope.decl(metadata !600)
Expand All @@ -5407,7 +5409,7 @@ _ZN6brotli3enc19backward_references2hq30ZopfliCostModelGetLiteralCosts17h82ae773
br i1 %.not.i277, label %_ZN6brotli3enc19backward_references2hq24ComputeMinimumCopyLength17hf9f5703b1fddf642E.exit, label %.lr.ph.preheader

.lr.ph.preheader: ; preds = %_ZN6brotli3enc19backward_references2hq30ZopfliCostModelGetLiteralCosts17h82ae77380cc67f69E.exit
%52 = fsub float %48, %50
%52 = fsub float %45, %50
%53 = fadd float %39, %52
br label %.lr.ph

Expand Down Expand Up @@ -5556,7 +5558,9 @@ _ZN6brotli3enc19backward_references2hq30ZopfliCostModelGetLiteralCosts17h82ae773
%133 = load i32, ptr %132, align 4, !noundef !13
%134 = uitofp i32 %133 to float
%135 = fadd float %131, %134
call void @llvm.assume(i1 true) [ "align"(ptr %.val165, i64 4) ]
%136 = load float, ptr %44, align 4, !noundef !13
call void @llvm.assume(i1 true) [ "align"(ptr %.val165, i64 4) ]
%137 = load float, ptr %.val165, align 4, !noundef !13
%138 = fsub float %136, %137
%139 = fadd float %135, %138
Expand Down
1 change: 0 additions & 1 deletion bench/boost/optimized/channel.ll
Original file line number Diff line number Diff line change
Expand Up @@ -4780,7 +4780,6 @@ define linkonce_odr hidden noundef ptr @_ZN5boost4asio6detail16thread_info_base8
%29 = select i1 %27, i64 0, i64 %28
%30 = add i64 %29, %24
%31 = tail call noalias ptr @aligned_alloc(i64 noundef %25, i64 noundef %30) #33
call void @llvm.assume(i1 true) [ "align"(ptr %31, i64 %25) ]
%.not.i = icmp eq ptr %31, null
br i1 %.not.i, label %32, label %_ZN5boost4asio11aligned_newEmm.exit

Expand Down
13 changes: 10 additions & 3 deletions bench/clap-rs/optimized/3b4nqkxyl1xqdcre.ll
Original file line number Diff line number Diff line change
Expand Up @@ -6029,7 +6029,11 @@ _ZN12clap_builder6output13help_template12HelpTemplate14will_args_wrap17h3c3e8e7d
%261 = getelementptr inbounds nuw i8, ptr %239, i64 504
%262 = load ptr, ptr %261, align 8, !alias.scope !1269, !noalias !1237, !noundef !12
%263 = icmp eq ptr %262, null
br i1 %263, label %_ZN12clap_builder6output13help_template12HelpTemplate4long17h040d2a9ab23e3d93E.exit.i, label %264
br i1 %263, label %_ZN12clap_builder6output13help_template12HelpTemplate5short17h271c5721682fe810E.exit.thread57.i, label %264

_ZN12clap_builder6output13help_template12HelpTemplate5short17h271c5721682fe810E.exit.thread57.i: ; preds = %260
call void @llvm.assume(i1 true) [ "align"(ptr %.val18.i, i64 2) ]
br label %_ZN12clap_builder6output13help_template12HelpTemplate4long17h040d2a9ab23e3d93E.exit.i

264: ; preds = %260
%265 = load i64, ptr %228, align 8, !alias.scope !1272, !noalias !1281, !noundef !12
Expand All @@ -6051,6 +6055,7 @@ _ZN12clap_builder6output13help_template12HelpTemplate5short17h271c5721682fe810E.
call void @llvm.lifetime.end.p0(i64 14, ptr nonnull %29), !noalias !1261
call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %30), !noalias !1261
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %32), !noalias !1261
call void @llvm.assume(i1 true) [ "align"(ptr %.val18.i, i64 2) ]
%269 = getelementptr inbounds nuw i8, ptr %239, i64 504
%270 = load ptr, ptr %269, align 8, !alias.scope !1285, !noalias !1237, !noundef !12
%271 = icmp eq ptr %270, null
Expand All @@ -6076,6 +6081,7 @@ _ZN12clap_builder6output13help_template12HelpTemplate5short17h271c5721682fe810E.
%281 = load i64, ptr %229, align 8, !alias.scope !1284, !noalias !1281, !noundef !12
%282 = add i64 %281, 4
store i64 %282, ptr %229, align 8, !alias.scope !1284, !noalias !1281
call void @llvm.assume(i1 true) [ "align"(ptr %.val18.i, i64 2) ]
call void @llvm.experimental.noalias.scope.decl(metadata !1305)
%283 = getelementptr inbounds nuw i8, ptr %239, i64 512
%..val2.i.i.i = load i64, ptr %283, align 8, !alias.scope !1290, !noalias !1237
Expand Down Expand Up @@ -6145,9 +6151,10 @@ _ZN12clap_builder7builder10styled_str9StyledStr8push_str17hf3025370b2961e87E.exi
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %27), !noalias !1292
br label %_ZN12clap_builder6output13help_template12HelpTemplate4long17h040d2a9ab23e3d93E.exit.i

_ZN12clap_builder6output13help_template12HelpTemplate4long17h040d2a9ab23e3d93E.exit.i: ; preds = %260, %.noexc41.i, %_ZN12clap_builder6output13help_template12HelpTemplate5short17h271c5721682fe810E.exit.thread.i
%295 = phi i1 [ true, %_ZN12clap_builder6output13help_template12HelpTemplate5short17h271c5721682fe810E.exit.thread.i ], [ false, %.noexc41.i ], [ true, %260 ]
_ZN12clap_builder6output13help_template12HelpTemplate4long17h040d2a9ab23e3d93E.exit.i: ; preds = %.noexc41.i, %_ZN12clap_builder6output13help_template12HelpTemplate5short17h271c5721682fe810E.exit.thread.i, %_ZN12clap_builder6output13help_template12HelpTemplate5short17h271c5721682fe810E.exit.thread57.i
%295 = phi i1 [ true, %_ZN12clap_builder6output13help_template12HelpTemplate5short17h271c5721682fe810E.exit.thread.i ], [ false, %.noexc41.i ], [ true, %_ZN12clap_builder6output13help_template12HelpTemplate5short17h271c5721682fe810E.exit.thread57.i ]
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %33), !noalias !1242
call void @llvm.assume(i1 true) [ "align"(ptr %.val18.i, i64 2) ]
invoke void @_ZN12clap_builder7builder3arg3Arg18stylize_arg_suffix17h7ff50427cdd11f0bE(ptr noalias nocapture noundef nonnull sret({ { { { i64, ptr }, i64 } } }) align 8 dereferenceable(24) %33, ptr noalias noundef nonnull readonly align 8 dereferenceable(552) %239, ptr noalias noundef nonnull readonly align 2 dereferenceable(98) %.val18.i, i8 noundef 2)
to label %296 unwind label %245, !noalias !1237

Expand Down
Loading