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: PR110280 #1387

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
9 changes: 2 additions & 7 deletions bench/abseil-cpp/optimized/cord.cc.ll
Original file line number Diff line number Diff line change
Expand Up @@ -7464,7 +7464,6 @@ entry:
%agg.tmp14.i = alloca %"class.absl::Cord::CharIterator", align 8
%agg.tmp3.i = alloca %"class.absl::Cord::CharIterator", align 8
%agg.tmp1.i = alloca %"class.absl::Cord::CharIterator", align 8
%agg.tmp3688.sroa.0 = alloca %"class.absl::Cord::ChunkIterator", align 8
%agg.tmp2261 = alloca %"class.absl::Cord::CharIterator", align 8
%agg.tmp2160 = alloca %"class.absl::Cord::CharIterator", align 8
%ref.tmp = alloca %"class.absl::Cord::CharIterator", align 8
Expand Down Expand Up @@ -7885,14 +7884,12 @@ if.end31: ; preds = %_ZN4absl4Cord7Advan
br i1 %cmp34, label %if.then35, label %while.body, !llvm.loop !58

if.then35: ; preds = %if.end31
call void @llvm.lifetime.start.p0(i64 152, ptr nonnull %agg.tmp3688.sroa.0)
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(152) %agg.tmp3688.sroa.0, ptr noundef nonnull align 8 dereferenceable(152) %haystack_it, i64 152, i1 false)
call void @llvm.lifetime.start.p0(i64 152, ptr nonnull %agg.tmp3.i)
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(152) %agg.tmp3.i, ptr noundef nonnull align 8 dereferenceable(152) %haystack_it, i64 152, i1 false)
call void @llvm.lifetime.start.p0(i64 152, ptr nonnull %agg.tmp1.i)
call void @_ZN4absl4Cord13ChunkIteratorC2EPKS0_(ptr noundef nonnull align 8 dereferenceable(152) %agg.tmp1.i, ptr noundef nonnull %needle)
call void @llvm.lifetime.start.p0(i64 152, ptr nonnull %agg.tmp3.i)
call void @llvm.lifetime.start.p0(i64 152, ptr nonnull %agg.tmp14.i)
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(152) %agg.tmp14.i, ptr noundef nonnull align 8 dereferenceable(152) %agg.tmp1.i, i64 152, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(152) %agg.tmp3.i, ptr noundef nonnull align 8 dereferenceable(152) %agg.tmp3688.sroa.0, i64 152, i1 false)
%bytes_remaining_.i.i.i.i.i = getelementptr inbounds i8, ptr %agg.tmp14.i, i64 24
%48 = load i64, ptr %bytes_remaining_.i.i.i.i.i, align 8
%cmp.i.i.i.not9.i.i = icmp eq i64 %48, 0
Expand Down Expand Up @@ -8024,14 +8021,12 @@ _ZN4absl4Cord7AdvanceEPNS0_12CharIteratorEm.exit36.i.i: ; preds = %_ZN4absl4Cord
_ZN4absl12_GLOBAL__N_117IsSubcordInCordAtENS_4Cord12CharIteratorERKS1_.exit: ; preds = %_ZNSt11char_traitsIcE7compareEPKcS2_m.exit.i.i.i.i.i
call void @llvm.lifetime.end.p0(i64 152, ptr nonnull %agg.tmp3.i)
call void @llvm.lifetime.end.p0(i64 152, ptr nonnull %agg.tmp14.i)
call void @llvm.lifetime.end.p0(i64 152, ptr nonnull %agg.tmp3688.sroa.0)
call void @llvm.lifetime.end.p0(i64 152, ptr nonnull %agg.tmp1.i)
br label %while.end

if.then38: ; preds = %if.then3.i.i19.i.i, %_ZNK4absl13cord_internal18CordRepBtreeReadercvbEv.exit.i.i24.i.i, %_ZN4absl4Cord7AdvanceEPNS0_12CharIteratorEm.exit36.i.i, %if.then35
call void @llvm.lifetime.end.p0(i64 152, ptr nonnull %agg.tmp3.i)
call void @llvm.lifetime.end.p0(i64 152, ptr nonnull %agg.tmp14.i)
call void @llvm.lifetime.end.p0(i64 152, ptr nonnull %agg.tmp3688.sroa.0)
call void @llvm.lifetime.end.p0(i64 152, ptr nonnull %agg.tmp1.i)
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(152) %agg.result, ptr noundef nonnull align 8 dereferenceable(152) %haystack_it, i64 152, i1 false)
br label %return
Expand Down
10 changes: 3 additions & 7 deletions bench/actix-rs/optimized/1xpd5itwjglolvjs.ll
Original file line number Diff line number Diff line change
Expand Up @@ -796,7 +796,6 @@ define void @_ZN15actix_multipart6server9Multipart8boundary17h4a7f5a09292cb55eE(
%6 = alloca { i64, [10 x i64] }, align 8
%7 = alloca { { ptr, i64 }, i8, [7 x i8] }, align 8
%8 = alloca { i64, [5 x i64] }, align 8
%.sroa.5 = alloca [32 x i8], align 8
%9 = alloca { i64, [5 x i64] }, align 8
%10 = alloca { i64, [5 x i64] }, align 8
%.sroa.79 = alloca [6 x i64], align 8
Expand Down Expand Up @@ -840,8 +839,8 @@ define void @_ZN15actix_multipart6server9Multipart8boundary17h4a7f5a09292cb55eE(
%.sroa.788.0..sroa_idx = getelementptr inbounds i8, ptr %6, i64 8
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %.sroa.79, ptr noundef nonnull align 8 dereferenceable(48) %.sroa.788.0..sroa_idx, i64 48, i1 false)
%.sroa.8.0..sroa_idx = getelementptr inbounds i8, ptr %6, i64 56
call void @llvm.lifetime.start.p0(i64 32, ptr nonnull %.sroa.5)
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %.sroa.5, ptr noundef nonnull align 8 dereferenceable(32) %.sroa.8.0..sroa_idx, i64 32, i1 false)
%.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %11, i64 56
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %.sroa.5.0..sroa_idx, ptr noundef nonnull align 8 dereferenceable(32) %.sroa.8.0..sroa_idx, i64 32, i1 false)
call void @llvm.lifetime.end.p0(i64 88, ptr nonnull %6)
call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %9)
store i64 2, ptr %9, align 8
Expand All @@ -852,9 +851,6 @@ define void @_ZN15actix_multipart6server9Multipart8boundary17h4a7f5a09292cb55eE(
%.sroa.4.0..sroa_idx = getelementptr inbounds i8, ptr %11, i64 8
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %.sroa.4.0..sroa_idx, ptr noundef nonnull align 8 dereferenceable(48) %.sroa.7, i64 48, i1 false)
store i64 %22, ptr %11, align 8
%.sroa.5.0..sroa_idx = getelementptr inbounds i8, ptr %11, i64 56
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(32) %.sroa.5.0..sroa_idx, ptr noundef nonnull align 8 dereferenceable(32) %.sroa.5, i64 32, i1 false)
call void @llvm.lifetime.end.p0(i64 32, ptr nonnull %.sroa.5)
call void @llvm.lifetime.start.p0(i64 24, ptr nonnull %7)
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(24) %7, ptr noundef nonnull align 8 dereferenceable(24) @anon.5007fb1ca41d1123f19426ceed96f3e3.24, i64 24, i1 false)
call void @llvm.experimental.noalias.scope.decl(metadata !205)
Expand Down Expand Up @@ -1051,7 +1047,7 @@ define void @_ZN15actix_multipart6server9Multipart10from_error17h5db24a0aca621d5
10: ; preds = %2
%11 = getelementptr inbounds i8, ptr %0, i64 96
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(40) %11, ptr noundef nonnull align 8 dereferenceable(40) %3, i64 40, i1 false)
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(48) %4, i64 48, i1 false)
tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %0, ptr noundef nonnull align 8 dereferenceable(48) %1, i64 48, i1 false)
%12 = getelementptr inbounds i8, ptr %0, i64 48
store i64 -9223372036854775808, ptr %12, align 8
call void @llvm.lifetime.end.p0(i64 40, ptr nonnull %3)
Expand Down
8 changes: 2 additions & 6 deletions bench/actix-rs/optimized/3k33h0ss7dy62evb.ll
Original file line number Diff line number Diff line change
Expand Up @@ -2312,7 +2312,6 @@ define hidden void @"_ZN5tokio7runtime4task4core17Core$LT$T$C$S$GT$4poll28_$u7b$

; Function Attrs: nonlazybind uwtable
define hidden void @"_ZN5tokio7runtime4task4core17Core$LT$T$C$S$GT$9set_stage17hc22cf362d9fb3247E"(ptr noundef nonnull align 8 %0, ptr noalias nocapture noundef align 8 dereferenceable(48) %1) unnamed_addr #7 personality ptr @rust_eh_personality {
%.sroa.0 = alloca { i64, [5 x i64] }, align 8
%3 = alloca { { i64, [1 x i64] } }, align 8
call void @llvm.lifetime.start.p0(i64 16, ptr nonnull %3)
%4 = load i64, ptr %0, align 8, !noundef !4
Expand All @@ -2325,8 +2324,6 @@ define hidden void @"_ZN5tokio7runtime4task4core17Core$LT$T$C$S$GT$9set_stage17h
store i64 %7, ptr %3, align 8
%9 = getelementptr inbounds i8, ptr %3, i64 8
store i64 %8, ptr %9, align 8
call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %.sroa.0)
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %.sroa.0, ptr noundef nonnull align 8 dereferenceable(48) %1, i64 48, i1 false)
%10 = getelementptr inbounds i8, ptr %0, i64 8
%11 = load i64, ptr %10, align 8, !range !190, !alias.scope !404, !noalias !407, !noundef !4
%12 = add nsw i64 %11, -2
Expand Down Expand Up @@ -2354,13 +2351,12 @@ define hidden void @"_ZN5tokio7runtime4task4core17Core$LT$T$C$S$GT$9set_stage17h
.body: ; preds = %21, %19
%22 = landingpad { ptr, i32 }
cleanup
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(48) %.sroa.0, i64 48, i1 false)
tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(48) %1, i64 48, i1 false)
invoke void @"_ZN81_$LT$tokio..runtime..task..core..TaskIdGuard$u20$as$u20$core..ops..drop..Drop$GT$4drop17h789c64168a0847a0E"(ptr noalias noundef nonnull align 8 dereferenceable(16) %3)
to label %.thread unwind label %23

"_ZN4core3ptr60drop_in_place$LT$tokio..runtime..task..core..TaskIdGuard$GT$17hbf2edcf333a2975cE.exit2": ; preds = %21, %19, %15, %6
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(48) %.sroa.0, i64 48, i1 false)
call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %.sroa.0)
tail call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(48) %10, ptr noundef nonnull align 8 dereferenceable(48) %1, i64 48, i1 false)
call void @"_ZN81_$LT$tokio..runtime..task..core..TaskIdGuard$u20$as$u20$core..ops..drop..Drop$GT$4drop17h789c64168a0847a0E"(ptr noalias noundef nonnull align 8 dereferenceable(16) %3)
call void @llvm.lifetime.end.p0(i64 16, ptr nonnull %3)
ret void
Expand Down
Loading