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: PR108958 #1325

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
16 changes: 9 additions & 7 deletions bench/actix-rs/optimized/2sajg5of2ft10y8h.ll
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,7 @@ _ZN14regex_automata4meta5regex9RegexInfo13is_impossible17h4c32fb66793d62c6E.exit
83: ; preds = %78
%84 = icmp ne ptr %.sroa.01.sroa.3.0.copyload, null
call void @llvm.assume(i1 %84)
call void @llvm.assume(i1 true) [ "align"(ptr %79, i64 8) ]
call void @"_ZN14regex_automata4util4pool5inner17Pool$LT$T$C$F$GT$9put_value17hfc868b4c5f713897E"(ptr nonnull align 8 %.sroa.01.sroa.3.0.copyload, ptr align 8 %79)
br label %"_ZN14regex_automata4util4pool5inner22PoolGuard$LT$T$C$F$GT$7put_imp17h9ad714504e7d7a6cE.exit"

Expand Down Expand Up @@ -368,6 +369,7 @@ _ZN14regex_automata4meta5regex9RegexInfo13is_impossible17h4c32fb66793d62c6E.exit
79: ; preds = %74
%80 = icmp ne ptr %.sroa.0.sroa.3.0.copyload, null
call void @llvm.assume(i1 %80)
call void @llvm.assume(i1 true) [ "align"(ptr %75, i64 8) ]
call void @"_ZN14regex_automata4util4pool5inner17Pool$LT$T$C$F$GT$9put_value17hfc868b4c5f713897E"(ptr nonnull align 8 %.sroa.0.sroa.3.0.copyload, ptr align 8 %75)
br label %"_ZN14regex_automata4util4pool5inner22PoolGuard$LT$T$C$F$GT$7put_imp17h9ad714504e7d7a6cE.exit"

Expand Down Expand Up @@ -445,14 +447,14 @@ declare void @_ZN4core9panicking13assert_failed17h1f57358f8ec3e200E(i8, ptr alig
; Function Attrs: inlinehint nonlazybind uwtable
declare void @_ZN4core4sync6atomic12atomic_store17h8309d489731ae414E(ptr, i64, i8) unnamed_addr #1

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #8
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write)
declare void @llvm.assume(i1 noundef) #8

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #8
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #9

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write)
declare void @llvm.assume(i1 noundef) #9
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #9

attributes #0 = { mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(read, inaccessiblemem: none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" }
attributes #1 = { inlinehint nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" }
Expand All @@ -462,8 +464,8 @@ attributes #4 = { mustprogress nocallback nofree nounwind willreturn memory(argm
attributes #5 = { cold noreturn nounwind nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" }
attributes #6 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #7 = { cold noreturn nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" }
attributes #8 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #9 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) }
attributes #8 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) }
attributes #9 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #10 = { noreturn }
attributes #11 = { cold }
attributes #12 = { cold noreturn nounwind }
Expand Down
1 change: 1 addition & 0 deletions bench/actix-rs/optimized/3z8xs86q8mjw7jd4.ll
Original file line number Diff line number Diff line change
Expand Up @@ -936,6 +936,7 @@ define { ptr, ptr } @_ZN15actix_multipart4form4text10TextConfig9map_error17hb2fe
store ptr %1, ptr %15, align 8
%16 = getelementptr inbounds i8, ptr %8, i64 40
%17 = load ptr, ptr %16, align 8, !invariant.load !4, !nonnull !4
call void @llvm.assume(i1 true) [ "align"(ptr %1, i64 8) ]
%18 = call { ptr, ptr } %17(ptr noundef align 1 %14, ptr noalias nocapture noundef nonnull align 8 dereferenceable(40) %4, ptr noalias noundef nonnull readonly align 8 dereferenceable(8) %1)
%19 = extractvalue { ptr, ptr } %18, 0
%20 = extractvalue { ptr, ptr } %18, 1
Expand Down
12 changes: 12 additions & 0 deletions bench/actix-rs/optimized/5a33a9xfp20c1mrr.ll
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,7 @@ define hidden void @"_ZN4core3ptr102drop_in_place$LT$actix_http..responses..resp
23: ; preds = %17
%24 = landingpad { ptr, i32 }
cleanup
call void @llvm.assume(i1 true) [ "align"(ptr %21, i64 8) ]
%25 = getelementptr inbounds i8, ptr %21, i64 8
%26 = load i64, ptr %25, align 8, !range !53, !invariant.load !12, !noalias !54
%27 = getelementptr inbounds i8, ptr %21, i64 16
Expand All @@ -216,6 +217,7 @@ define hidden void @"_ZN4core3ptr102drop_in_place$LT$actix_http..responses..resp
br label %.body2

31: ; preds = %17
call void @llvm.assume(i1 true) [ "align"(ptr %21, i64 8) ]
%32 = getelementptr inbounds i8, ptr %21, i64 8
%33 = load i64, ptr %32, align 8, !range !53, !invariant.load !12, !noalias !58
%34 = getelementptr inbounds i8, ptr %21, i64 16
Expand Down Expand Up @@ -333,6 +335,7 @@ define hidden void @"_ZN4core3ptr173drop_in_place$LT$alloc..boxed..Box$LT$dyn$u2
6: ; preds = %1
%7 = landingpad { ptr, i32 }
cleanup
call void @llvm.assume(i1 true) [ "align"(ptr %4, i64 8) ]
%8 = getelementptr inbounds i8, ptr %4, i64 8
%9 = load i64, ptr %8, align 8, !range !53, !invariant.load !12, !noalias !69
%10 = getelementptr inbounds i8, ptr %4, i64 16
Expand All @@ -347,6 +350,7 @@ define hidden void @"_ZN4core3ptr173drop_in_place$LT$alloc..boxed..Box$LT$dyn$u2
br label %"_ZN72_$LT$alloc..boxed..Box$LT$T$C$A$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17ha28c1cefae9dd037E.llvm.11579535172419908104.exit"

14: ; preds = %1
call void @llvm.assume(i1 true) [ "align"(ptr %4, i64 8) ]
%15 = getelementptr inbounds i8, ptr %4, i64 8
%16 = load i64, ptr %15, align 8, !range !53, !invariant.load !12, !noalias !72
%17 = getelementptr inbounds i8, ptr %4, i64 16
Expand Down Expand Up @@ -387,6 +391,7 @@ define hidden void @"_ZN4core3ptr195drop_in_place$LT$core..pin..Pin$LT$alloc..bo
6: ; preds = %1
%7 = landingpad { ptr, i32 }
cleanup
call void @llvm.assume(i1 true) [ "align"(ptr %4, i64 8) ]
%8 = getelementptr inbounds i8, ptr %4, i64 8
%9 = load i64, ptr %8, align 8, !range !53, !invariant.load !12, !noalias !78
%10 = getelementptr inbounds i8, ptr %4, i64 16
Expand All @@ -401,6 +406,7 @@ define hidden void @"_ZN4core3ptr195drop_in_place$LT$core..pin..Pin$LT$alloc..bo
br label %"_ZN72_$LT$alloc..boxed..Box$LT$T$C$A$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17ha28c1cefae9dd037E.llvm.11579535172419908104.exit.i"

14: ; preds = %1
call void @llvm.assume(i1 true) [ "align"(ptr %4, i64 8) ]
%15 = getelementptr inbounds i8, ptr %4, i64 8
%16 = load i64, ptr %15, align 8, !range !53, !invariant.load !12, !noalias !81
%17 = getelementptr inbounds i8, ptr %4, i64 16
Expand Down Expand Up @@ -531,6 +537,7 @@ define hidden void @"_ZN4core3ptr51drop_in_place$LT$http..header..name..HeaderNa
tail call void @llvm.experimental.noalias.scope.decl(metadata !137)
tail call void @llvm.experimental.noalias.scope.decl(metadata !140)
tail call void @llvm.experimental.noalias.scope.decl(metadata !143)
call void @llvm.assume(i1 true) [ "align"(ptr %2, i64 8) ]
%5 = getelementptr inbounds i8, ptr %2, i64 24
%6 = load ptr, ptr %5, align 8, !noalias !146, !nonnull !12, !noundef !12
%7 = getelementptr inbounds i8, ptr %0, i64 24
Expand Down Expand Up @@ -568,6 +575,7 @@ define hidden void @"_ZN4core3ptr53drop_in_place$LT$actix_http..body..boxed..Box
9: ; preds = %3
%10 = landingpad { ptr, i32 }
cleanup
call void @llvm.assume(i1 true) [ "align"(ptr %7, i64 8) ]
%11 = getelementptr inbounds i8, ptr %7, i64 8
%12 = load i64, ptr %11, align 8, !range !53, !invariant.load !12, !noalias !157
%13 = getelementptr inbounds i8, ptr %7, i64 16
Expand All @@ -582,6 +590,7 @@ define hidden void @"_ZN4core3ptr53drop_in_place$LT$actix_http..body..boxed..Box
br label %"_ZN72_$LT$alloc..boxed..Box$LT$T$C$A$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17ha28c1cefae9dd037E.llvm.11579535172419908104.exit.i.i.i"

17: ; preds = %3
call void @llvm.assume(i1 true) [ "align"(ptr %7, i64 8) ]
%18 = getelementptr inbounds i8, ptr %7, i64 8
%19 = load i64, ptr %18, align 8, !range !53, !invariant.load !12, !noalias !160
%20 = getelementptr inbounds i8, ptr %7, i64 16
Expand Down Expand Up @@ -693,6 +702,7 @@ define hidden void @"_ZN4core3ptr58drop_in_place$LT$actix_http..body..boxed..Box
9: ; preds = %3
%10 = landingpad { ptr, i32 }
cleanup
call void @llvm.assume(i1 true) [ "align"(ptr %7, i64 8) ]
%11 = getelementptr inbounds i8, ptr %7, i64 8
%12 = load i64, ptr %11, align 8, !range !53, !invariant.load !12, !noalias !195
%13 = getelementptr inbounds i8, ptr %7, i64 16
Expand All @@ -707,6 +717,7 @@ define hidden void @"_ZN4core3ptr58drop_in_place$LT$actix_http..body..boxed..Box
br label %"_ZN72_$LT$alloc..boxed..Box$LT$T$C$A$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17ha28c1cefae9dd037E.llvm.11579535172419908104.exit.i.i"

17: ; preds = %3
call void @llvm.assume(i1 true) [ "align"(ptr %7, i64 8) ]
%18 = getelementptr inbounds i8, ptr %7, i64 8
%19 = load i64, ptr %18, align 8, !range !53, !invariant.load !12, !noalias !198
%20 = getelementptr inbounds i8, ptr %7, i64 16
Expand Down Expand Up @@ -808,6 +819,7 @@ define hidden void @"_ZN4core3ptr79drop_in_place$LT$http..header..name..Repr$LT$
tail call void @llvm.experimental.noalias.scope.decl(metadata !220)
tail call void @llvm.experimental.noalias.scope.decl(metadata !223)
tail call void @llvm.experimental.noalias.scope.decl(metadata !226)
call void @llvm.assume(i1 true) [ "align"(ptr %2, i64 8) ]
%6 = getelementptr inbounds i8, ptr %2, i64 24
%7 = load ptr, ptr %6, align 8, !noalias !229, !nonnull !12, !noundef !12
%8 = getelementptr inbounds i8, ptr %0, i64 24
Expand Down
15 changes: 8 additions & 7 deletions bench/actix-rs/optimized/cd3xchev5fp4w96.ll
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,7 @@ _ZN14regex_automata4meta5regex9RegexInfo13is_impossible17h4c32fb66793d62c6E.exit
82: ; preds = %77
%83 = icmp ne ptr %.sroa.0.sroa.3.0.copyload, null
call void @llvm.assume(i1 %83)
call void @llvm.assume(i1 true) [ "align"(ptr %78, i64 8) ]
call void @"_ZN14regex_automata4util4pool5inner17Pool$LT$T$C$F$GT$9put_value17hfc868b4c5f713897E"(ptr nonnull align 8 %.sroa.0.sroa.3.0.copyload, ptr align 8 %78)
br label %"_ZN14regex_automata4util4pool5inner22PoolGuard$LT$T$C$F$GT$7put_imp17h9ad714504e7d7a6cE.exit"

Expand Down Expand Up @@ -232,23 +233,23 @@ declare void @_ZN4core9panicking13assert_failed17h1f57358f8ec3e200E(i8, ptr alig
; Function Attrs: inlinehint nonlazybind uwtable
declare void @_ZN4core4sync6atomic12atomic_store17h8309d489731ae414E(ptr, i64, i8) unnamed_addr #0

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #6
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write)
declare void @llvm.assume(i1 noundef) #6

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #6
declare void @llvm.lifetime.start.p0(i64 immarg, ptr nocapture) #7

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write)
declare void @llvm.assume(i1 noundef) #7
; Function Attrs: nocallback nofree nosync nounwind willreturn memory(argmem: readwrite)
declare void @llvm.lifetime.end.p0(i64 immarg, ptr nocapture) #7

attributes #0 = { inlinehint nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" }
attributes #1 = { nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" }
attributes #2 = { mustprogress nocallback nofree nounwind willreturn memory(argmem: readwrite) }
attributes #3 = { cold noreturn nounwind nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" }
attributes #4 = { mustprogress nocallback nofree nosync nounwind speculatable willreturn memory(none) }
attributes #5 = { cold noreturn nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" }
attributes #6 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #7 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) }
attributes #6 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) }
attributes #7 = { nocallback nofree nosync nounwind willreturn memory(argmem: readwrite) }
attributes #8 = { noreturn }
attributes #9 = { cold }
attributes #10 = { cold noreturn nounwind }
Expand Down
Loading