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: PR123247 #1978

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/34zqw30jnodxf0r6.ll
Original file line number Diff line number Diff line change
Expand Up @@ -6438,6 +6438,7 @@ define hidden noundef ptr @"_ZN10actix_http2h17encoder23MessageEncoder$LT$T$GT$6
%19 = load ptr, ptr %18, align 8, !nonnull !4
%20 = getelementptr inbounds nuw i8, ptr %19, i64 16
%.0.i.i = select i1 %17, ptr %20, ptr %2
call void @llvm.assume(i1 true) [ "align"(ptr %.0.i.i, i64 8) ]
%21 = getelementptr inbounds nuw i8, ptr %.0.i.i, i64 209
%22 = load i8, ptr %21, align 1, !noundef !4
%23 = and i8 %22, 16
Expand Down
34 changes: 21 additions & 13 deletions bench/anki-rs/optimized/3tslueai5mplc1k4.ll
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ define noundef zeroext i1 @"_ZN91_$LT$core..slice..iter..Iter$LT$T$GT$$u20$as$u2
9: ; preds = %5
%10 = getelementptr inbounds nuw i8, ptr %7, i64 80
store ptr %10, ptr %0, align 8
call void @llvm.assume(i1 true) [ "align"(ptr %7, i64 8) ]
%11 = call zeroext i1 @"_ZN14anki_proto_gen12get_services28_$u7b$$u7b$closure$u7d$$u7d$28_$u7b$$u7b$closure$u7d$$u7d$17hf48bab8ca5b1c62bE"(ptr nonnull align 8 %3, ptr nonnull align 8 %7)
br i1 %11, label %5, label %"_ZN91_$LT$core..slice..iter..Iter$LT$T$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17hfda3e178ab080860E.exit.thread"

Expand Down Expand Up @@ -126,6 +127,7 @@ define void @"_ZN91_$LT$core..slice..iter..Iter$LT$T$GT$$u20$as$u20$core..iter..
13: ; preds = %13, %8
%.0 = phi i64 [ 0, %8 ], [ %15, %13 ]
%14 = getelementptr inbounds { { { ptr, i64 }, i64 }, { { ptr, i64 }, i64 }, { { ptr, i64 }, i64 }, { ptr, [2 x i64] }, { ptr, [2 x i64] } }, ptr %0, i64 %.0
call void @llvm.assume(i1 true) [ "align"(ptr %14, i64 8) ]
call void @"_ZN4core4iter8adapters3map8map_fold28_$u7b$$u7b$closure$u7d$$u7d$17h99348c2566d8a9b9E"(ptr nonnull align 8 %4, ptr nonnull align 8 %14)
%15 = add nuw i64 %.0, 1
%16 = icmp eq i64 %15, %12
Expand All @@ -135,7 +137,7 @@ define void @"_ZN91_$LT$core..slice..iter..Iter$LT$T$GT$$u20$as$u20$core..iter..
ret void
}

; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: readwrite) uwtable
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: readwrite, inaccessiblemem: write) uwtable
define align 8 ptr @"_ZN91_$LT$core..slice..iter..Iter$LT$T$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2054e5925b6848a7E"(ptr nocapture align 8 %0) unnamed_addr #3 {
%2 = getelementptr inbounds nuw i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !nonnull !3, !noundef !3
Expand All @@ -150,10 +152,11 @@ define align 8 ptr @"_ZN91_$LT$core..slice..iter..Iter$LT$T$GT$$u20$as$u20$core.

8: ; preds = %1, %6
%.0 = phi ptr [ %4, %6 ], [ null, %1 ]
call void @llvm.assume(i1 true) [ "align"(ptr %.0, i64 8) ]
ret ptr %.0
}

; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: readwrite) uwtable
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: readwrite, inaccessiblemem: write) uwtable
define align 8 ptr @"_ZN91_$LT$core..slice..iter..Iter$LT$T$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17hfda3e178ab080860E"(ptr nocapture align 8 %0) unnamed_addr #3 {
%2 = getelementptr inbounds nuw i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !nonnull !3, !noundef !3
Expand All @@ -168,11 +171,12 @@ define align 8 ptr @"_ZN91_$LT$core..slice..iter..Iter$LT$T$GT$$u20$as$u20$core.

8: ; preds = %1, %6
%.0 = phi ptr [ %4, %6 ], [ null, %1 ]
call void @llvm.assume(i1 true) [ "align"(ptr %.0, i64 8) ]
ret ptr %.0
}

; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: readwrite) uwtable
define void @"_ZN91_$LT$core..slice..iter..Iter$LT$T$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$9size_hint17h74391cd1f6bad92aE"(ptr nocapture writeonly sret({ i64, { i64, i64 } }) align 8 initializes((0, 24)) %0, ptr nocapture readonly align 8 %1) unnamed_addr #3 {
define void @"_ZN91_$LT$core..slice..iter..Iter$LT$T$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$9size_hint17h74391cd1f6bad92aE"(ptr nocapture writeonly sret({ i64, { i64, i64 } }) align 8 initializes((0, 24)) %0, ptr nocapture readonly align 8 %1) unnamed_addr #4 {
%3 = getelementptr inbounds nuw i8, ptr %1, i64 8
%4 = load ptr, ptr %3, align 8, !nonnull !3, !noundef !3
%5 = load ptr, ptr %1, align 8, !nonnull !3, !noundef !3
Expand All @@ -189,7 +193,7 @@ define void @"_ZN91_$LT$core..slice..iter..Iter$LT$T$GT$$u20$as$u20$core..iter..
}

; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: readwrite) uwtable
define void @"_ZN91_$LT$core..slice..iter..Iter$LT$T$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$9size_hint17ha3eef96efc0e4201E"(ptr nocapture writeonly sret({ i64, { i64, i64 } }) align 8 initializes((0, 24)) %0, ptr nocapture readonly align 8 %1) unnamed_addr #3 {
define void @"_ZN91_$LT$core..slice..iter..Iter$LT$T$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$9size_hint17ha3eef96efc0e4201E"(ptr nocapture writeonly sret({ i64, { i64, i64 } }) align 8 initializes((0, 24)) %0, ptr nocapture readonly align 8 %1) unnamed_addr #4 {
%3 = getelementptr inbounds nuw i8, ptr %1, i64 8
%4 = load ptr, ptr %3, align 8, !nonnull !3, !noundef !3
%5 = load ptr, ptr %1, align 8, !nonnull !3, !noundef !3
Expand All @@ -205,7 +209,7 @@ define void @"_ZN91_$LT$core..slice..iter..Iter$LT$T$GT$$u20$as$u20$core..iter..
ret void
}

; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: readwrite) uwtable
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: readwrite, inaccessiblemem: write) uwtable
define align 8 ptr @"_ZN94_$LT$core..slice..iter..IterMut$LT$T$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h1cf4768bc629cabcE"(ptr nocapture align 8 %0) unnamed_addr #3 {
%2 = getelementptr inbounds nuw i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !nonnull !3, !noundef !3
Expand All @@ -220,10 +224,11 @@ define align 8 ptr @"_ZN94_$LT$core..slice..iter..IterMut$LT$T$GT$$u20$as$u20$co

8: ; preds = %1, %6
%.0 = phi ptr [ %4, %6 ], [ null, %1 ]
call void @llvm.assume(i1 true) [ "align"(ptr %.0, i64 8) ]
ret ptr %.0
}

; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: readwrite) uwtable
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: readwrite, inaccessiblemem: write) uwtable
define align 8 ptr @"_ZN94_$LT$core..slice..iter..IterMut$LT$T$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h2fef0eef171fbc41E"(ptr nocapture align 8 %0) unnamed_addr #3 {
%2 = getelementptr inbounds nuw i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !nonnull !3, !noundef !3
Expand All @@ -238,10 +243,11 @@ define align 8 ptr @"_ZN94_$LT$core..slice..iter..IterMut$LT$T$GT$$u20$as$u20$co

8: ; preds = %1, %6
%.0 = phi ptr [ %4, %6 ], [ null, %1 ]
call void @llvm.assume(i1 true) [ "align"(ptr %.0, i64 8) ]
ret ptr %.0
}

; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: readwrite) uwtable
; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: readwrite, inaccessiblemem: write) uwtable
define align 8 ptr @"_ZN94_$LT$core..slice..iter..IterMut$LT$T$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4next17h3ecb8020001709afE"(ptr nocapture align 8 %0) unnamed_addr #3 {
%2 = getelementptr inbounds nuw i8, ptr %0, i64 8
%3 = load ptr, ptr %2, align 8, !nonnull !3, !noundef !3
Expand All @@ -256,17 +262,18 @@ define align 8 ptr @"_ZN94_$LT$core..slice..iter..IterMut$LT$T$GT$$u20$as$u20$co

8: ; preds = %1, %6
%.0 = phi ptr [ %4, %6 ], [ null, %1 ]
call void @llvm.assume(i1 true) [ "align"(ptr %.0, i64 8) ]
ret ptr %.0
}

; Function Attrs: nonlazybind uwtable
declare i32 @rust_eh_personality(i32, i32, i64, ptr, ptr) unnamed_addr #4
declare i32 @rust_eh_personality(i32, i32, i64, ptr, ptr) unnamed_addr #5

; Function Attrs: inlinehint nonlazybind uwtable
declare hidden zeroext i1 @"_ZN14anki_proto_gen12get_services28_$u7b$$u7b$closure$u7d$$u7d$28_$u7b$$u7b$closure$u7d$$u7d$17hf48bab8ca5b1c62bE"(ptr align 8, ptr align 8) unnamed_addr #2

; Function Attrs: nonlazybind uwtable
declare zeroext i1 @"_ZN4core3ops8function5impls79_$LT$impl$u20$core..ops..function..FnMut$LT$A$GT$$u20$for$u20$$RF$mut$u20$F$GT$8call_mut17h39c9d34820ec298aE"(ptr align 8, ptr align 8) unnamed_addr #4
declare zeroext i1 @"_ZN4core3ops8function5impls79_$LT$impl$u20$core..ops..function..FnMut$LT$A$GT$$u20$for$u20$$RF$mut$u20$F$GT$8call_mut17h39c9d34820ec298aE"(ptr align 8, ptr align 8) unnamed_addr #5

; Function Attrs: inlinehint nonlazybind uwtable
declare hidden zeroext i1 @"_ZN14anki_proto_gen12get_services28_$u7b$$u7b$closure$u7d$$u7d$17h7f8f8f2e9841dc95E"(ptr align 8, ptr align 8) unnamed_addr #2
Expand All @@ -275,14 +282,15 @@ declare hidden zeroext i1 @"_ZN14anki_proto_gen12get_services28_$u7b$$u7b$closur
declare void @"_ZN4core4iter8adapters3map8map_fold28_$u7b$$u7b$closure$u7d$$u7d$17h99348c2566d8a9b9E"(ptr align 8, ptr align 8) unnamed_addr #2

; Function Attrs: nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write)
declare void @llvm.assume(i1 noundef) #5
declare void @llvm.assume(i1 noundef) #6

attributes #0 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: write) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" }
attributes #1 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(none) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" }
attributes #2 = { inlinehint nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" }
attributes #3 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" }
attributes #4 = { nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" }
attributes #5 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) }
attributes #3 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: readwrite, inaccessiblemem: write) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" }
attributes #4 = { inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: readwrite) uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" }
attributes #5 = { nonlazybind uwtable "probe-stack"="inline-asm" "target-cpu"="x86-64" }
attributes #6 = { nocallback nofree nosync nounwind willreturn memory(inaccessiblemem: write) }

!llvm.module.flags = !{!0, !1}
!llvm.ident = !{!2}
Expand Down
8 changes: 4 additions & 4 deletions bench/anki-rs/optimized/fnhbc197p8edxvd.ll
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ define void @"_ZN102_$LT$core..iter..adapters..map..Map$LT$I$C$F$GT$$u20$as$u20$
; Function Attrs: nonlazybind uwtable
define void @"_ZN102_$LT$core..iter..adapters..map..Map$LT$I$C$F$GT$$u20$as$u20$core..iter..traits..iterator..Iterator$GT$4fold17hd9ac99099e6ed9eaE"(ptr nocapture readonly align 8 %0, ptr nocapture readonly align 8 %1) unnamed_addr #0 personality ptr @rust_eh_personality {
%3 = alloca { { { { { ptr, i64 }, ptr } }, {} }, ptr }, align 8
%.sroa.0.0.copyload = load ptr, ptr %0, align 8, !nonnull !3, !noundef !3
%.sroa.0.0.copyload = load ptr, ptr %0, align 8, !nonnull !3, !align !4, !noundef !3
%.sroa.2.0..sroa_idx = getelementptr inbounds nuw i8, ptr %0, i64 8
%.sroa.2.0.copyload = load i32, ptr %.sroa.2.0..sroa_idx, align 8
%.sroa.3.0..sroa_idx = getelementptr inbounds nuw i8, ptr %0, i64 12
Expand Down Expand Up @@ -128,7 +128,7 @@ define void @"_ZN102_$LT$core..iter..adapters..map..Map$LT$I$C$F$GT$$u20$as$u20$
; Function Attrs: inlinehint nonlazybind uwtable
define void @_ZN4core4iter6traits8iterator8Iterator8for_each17h35dabe438a4d9658E(ptr nocapture readonly align 8 %0, ptr nocapture readonly align 8 %1) unnamed_addr #1 personality ptr @rust_eh_personality {
%3 = alloca { { { ptr, ptr, ptr } }, ptr }, align 8
%.sroa.0.0.copyload = load ptr, ptr %0, align 8, !nonnull !3, !noundef !3
%.sroa.0.0.copyload = load ptr, ptr %0, align 8, !nonnull !3, !align !4, !noundef !3
%.sroa.2.0..sroa_idx = getelementptr inbounds nuw i8, ptr %0, i64 8
%.sroa.2.0.copyload = load i32, ptr %.sroa.2.0..sroa_idx, align 8
%.sroa.3.0..sroa_idx = getelementptr inbounds nuw i8, ptr %0, i64 12
Expand All @@ -153,7 +153,7 @@ define void @_ZN4core4iter6traits8iterator8Iterator8for_each17h6f338cd8fa66bdefE
; Function Attrs: inlinehint nonlazybind uwtable
define void @_ZN4core4iter6traits8iterator8Iterator8for_each17he73a79b5a308a79fE(ptr nocapture readonly align 8 %0, ptr nocapture readonly align 8 %1) unnamed_addr #1 personality ptr @rust_eh_personality {
%3 = alloca { { { { { ptr, i64 }, ptr } }, {} }, ptr }, align 8
%.sroa.0.0.copyload = load ptr, ptr %0, align 8, !nonnull !3, !noundef !3
%.sroa.0.0.copyload = load ptr, ptr %0, align 8, !nonnull !3, !align !4, !noundef !3
%.sroa.2.0..sroa_idx = getelementptr inbounds nuw i8, ptr %0, i64 8
%.sroa.2.0.copyload = load i32, ptr %.sroa.2.0..sroa_idx, align 8
%.sroa.3.0..sroa_idx = getelementptr inbounds nuw i8, ptr %0, i64 12
Expand Down Expand Up @@ -269,7 +269,7 @@ define void @_ZN9itertools9Itertools13partition_map17ha340c6623b0f1886E(ptr noca
br label %7

10: ; preds = %2
%.sroa.0.0.copyload = load ptr, ptr %1, align 8, !nonnull !3, !noundef !3
%.sroa.0.0.copyload = load ptr, ptr %1, align 8, !nonnull !3, !align !4, !noundef !3
%.sroa.2.0..sroa_idx = getelementptr inbounds nuw i8, ptr %1, i64 8
%.sroa.2.0.copyload = load i32, ptr %.sroa.2.0..sroa_idx, align 8
%.sroa.3.0..sroa_idx = getelementptr inbounds nuw i8, ptr %1, i64 12
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
Loading