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: PR124480 #2058

Closed
wants to merge 3 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
6 changes: 2 additions & 4 deletions bench/abseil-cpp/optimized/hash_instantiated_test.cc.ll
Original file line number Diff line number Diff line change
Expand Up @@ -100004,7 +100004,6 @@ if.then18: ; preds = %if.then13
br label %if.end20

if.end20: ; preds = %if.then10, %if.then18, %if.then13, %if.else
%__check_bucket.2 = phi i8 [ %__check_bucket.047, %if.else ], [ 0, %if.then13 ], [ 0, %if.then18 ], [ 0, %if.then10 ]
%arrayidx21 = getelementptr inbounds ptr, ptr %retval.0.i, i64 %rem.i.i
%6 = load ptr, ptr %arrayidx21, align 8
%tobool22.not = icmp eq ptr %6, null
Expand Down Expand Up @@ -100032,7 +100031,7 @@ if.else36: ; preds = %if.end20
br label %if.end43

if.end43: ; preds = %if.then23, %if.then33, %if.else36, %if.then
%__check_bucket.1 = phi i8 [ 1, %if.then ], [ %__check_bucket.2, %if.else36 ], [ %__check_bucket.2, %if.then33 ], [ %__check_bucket.2, %if.then23 ]
%__check_bucket.1 = phi i8 [ 1, %if.then ], [ 0, %if.else36 ], [ 0, %if.then33 ], [ 0, %if.then23 ]
%__bbegin_bkt.1 = phi i64 [ %__bbegin_bkt.050, %if.then ], [ %__bbegin_bkt.050, %if.else36 ], [ %rem.i.i, %if.then33 ], [ %rem.i.i, %if.then23 ]
%tobool.not = icmp eq ptr %1, null
br i1 %tobool.not, label %while.end, label %while.body, !llvm.loop !2807
Expand Down Expand Up @@ -300505,7 +300504,6 @@ if.then18: ; preds = %if.then13
br label %if.end20

if.end20: ; preds = %if.then10, %if.then18, %if.then13, %if.else
%__check_bucket.2 = phi i8 [ %__check_bucket.047, %if.else ], [ 0, %if.then13 ], [ 0, %if.then18 ], [ 0, %if.then10 ]
%arrayidx21 = getelementptr inbounds ptr, ptr %retval.0.i, i64 %rem.i.i
%6 = load ptr, ptr %arrayidx21, align 8
%tobool22.not = icmp eq ptr %6, null
Expand Down Expand Up @@ -300533,7 +300531,7 @@ if.else36: ; preds = %if.end20
br label %if.end43

if.end43: ; preds = %if.then23, %if.then33, %if.else36, %if.then
%__check_bucket.1 = phi i8 [ 1, %if.then ], [ %__check_bucket.2, %if.else36 ], [ %__check_bucket.2, %if.then33 ], [ %__check_bucket.2, %if.then23 ]
%__check_bucket.1 = phi i8 [ 1, %if.then ], [ 0, %if.else36 ], [ 0, %if.then33 ], [ 0, %if.then23 ]
%__bbegin_bkt.1 = phi i64 [ %__bbegin_bkt.050, %if.then ], [ %__bbegin_bkt.050, %if.else36 ], [ %rem.i.i, %if.then33 ], [ %rem.i.i, %if.then23 ]
%tobool.not = icmp eq ptr %1, null
br i1 %tobool.not, label %while.end, label %while.body, !llvm.loop !7478
Expand Down
11 changes: 4 additions & 7 deletions bench/abseil-cpp/optimized/raw_hash_set_test.cc.ll
Original file line number Diff line number Diff line change
Expand Up @@ -115642,7 +115642,6 @@ _ZN4absl18container_internal11node_handleINS0_12_GLOBAL__N_111ValuePolicyIlLb0EE
br label %ehcleanup216

invoke.cont15: ; preds = %cond.false.i, %_ZN4absl18container_internal12raw_hash_setINS0_12_GLOBAL__N_111ValuePolicyIlLb0EEENS_13hash_internal4HashIlEESt8equal_toIlESaIlEE4findIlEENSB_8iteratorERKl.exit.i
%node.sroa.0.2 = phi i8 [ 1, %cond.false.i ], [ 0, %_ZN4absl18container_internal12raw_hash_setINS0_12_GLOBAL__N_111ValuePolicyIlLb0EEENS_13hash_internal4HashIlEESt8equal_toIlESaIlEE4findIlEENSB_8iteratorERKl.exit.i ]
%node.sroa.22.0 = phi i64 [ %ref.tmp.val.val.i.i, %cond.false.i ], [ 0, %_ZN4absl18container_internal12raw_hash_setINS0_12_GLOBAL__N_111ValuePolicyIlLb0EEENS_13hash_internal4HashIlEESt8equal_toIlESaIlEE4findIlEENSB_8iteratorERKl.exit.i ]
store i64 8589934595, ptr %ref.tmp9, align 8, !alias.scope !4531
invoke fastcc void @_ZNK7testing8internal29PredicateFormatterFromMatcherINS0_27UnorderedElementsAreMatcherISt5tupleIJiiEEEEEclIN4absl18container_internal12_GLOBAL__N_110ValueTableIlLb0EEEEENS_15AssertionResultEPKcRKT_(ptr noalias align 8 %gtest_ar, ptr noundef nonnull align 4 dereferenceable(8) %ref.tmp9, ptr noundef nonnull align 8 dereferenceable(32) %t)
Expand Down Expand Up @@ -115746,8 +115745,7 @@ _ZN7testing15AssertionResultD2Ev.exit: ; preds = %if.end, %_ZNKSt14de
store ptr null, ptr %message_.i, align 8
%t.val33 = load ptr, ptr %t, align 8, !nonnull !1153, !noundef !1153
%t.val34 = load ptr, ptr %ref.tmp.sroa.3.0.this.sroa_idx.i.i.i.i, align 8
%tobool.i.i.i.i.i.i = trunc nuw i8 %node.sroa.0.2 to i1
br i1 %tobool.i.i.i.i.i.i, label %if.end.i.i, label %invoke.cont42
br i1 %cmp.i.i.not, label %invoke.cont42, label %if.end.i.i

if.end.i.i: ; preds = %_ZN7testing15AssertionResultD2Ev.exit
call void @llvm.prefetch.p0(ptr nonnull readonly %t.val33, i32 0, i32 1, i32 1), !noalias !4534
Expand Down Expand Up @@ -115824,7 +115822,8 @@ invoke.cont42.loopexit: ; preds = %for.body.i.i.i.i.i.
br label %invoke.cont42

invoke.cont42: ; preds = %invoke.cont42.loopexit, %invoke.cont.i.i.i, %_ZN7testing15AssertionResultD2Ev.exit
%node.sroa.0.3 = phi i8 [ 0, %invoke.cont.i.i.i ], [ %node.sroa.0.2, %_ZN7testing15AssertionResultD2Ev.exit ], [ 1, %invoke.cont42.loopexit ]
%node.sroa.0.3 = phi i1 [ true, %invoke.cont.i.i.i ], [ true, %_ZN7testing15AssertionResultD2Ev.exit ], [ false, %invoke.cont42.loopexit ]
%node.sroa.0.3 = phi i8 [ 1, %invoke.cont.i.i.i ], [ 1, %_ZN7testing15AssertionResultD2Ev.exit ], [ 0, %invoke.cont42.loopexit ]
%res.sroa.4.01825.i = phi ptr [ %add.ptr3.i.i.i.i.i19.i.i, %invoke.cont.i.i.i ], [ undef, %_ZN7testing15AssertionResultD2Ev.exit ], [ %add.ptr21.i.i.i.i.i.i.i.le, %invoke.cont42.loopexit ]
store i32 3, ptr %ref.tmp36, align 4
%agg.tmp3754.sroa.4.0.ref.tmp36.sroa_idx = getelementptr inbounds nuw i8, ptr %ref.tmp36, i64 4
Expand Down Expand Up @@ -116039,11 +116038,9 @@ _ZNKSt14default_deleteINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEclEP

_ZN7testing15AssertionResultD2Ev.exit100: ; preds = %if.end81, %_ZNKSt14default_deleteINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEclEPS5_.exit.i.i99
store ptr null, ptr %message_.i97, align 8
%frombool = xor i8 %node.sroa.0.3, 1
store i8 %frombool, ptr %gtest_ar_, align 8
store i8 %node.sroa.0.3, ptr %gtest_ar_, align 8
%message_.i101 = getelementptr inbounds nuw i8, ptr %gtest_ar_, i64 8
store ptr null, ptr %message_.i101, align 8
%tobool.i102.not.not = icmp eq i8 %node.sroa.0.3, 0
br i1 %tobool.i102.not.not, label %_ZN7testing15AssertionResultD2Ev.exit116, label %if.else88

ehcleanup82: ; preds = %_ZN7testing7MessageD2Ev.exit96, %lpad70
Expand Down
13 changes: 7 additions & 6 deletions bench/actix-rs/optimized/2wg1z1eatrkafji9.ll
Original file line number Diff line number Diff line change
Expand Up @@ -2077,9 +2077,10 @@ define internal fastcc void @"_ZN4core3ptr365drop_in_place$LT$hashbrown..scopegu

2: ; preds = %13, %0
%.sroa.0.08.i.i = phi i64 [ 0, %0 ], [ %spec.select6.i.i, %13 ]
%3 = icmp ult i64 %.sroa.0.08.i.i, %.0.val
%4 = zext i1 %3 to i64
%spec.select6.i.i = add nuw i64 %.sroa.0.08.i.i, %4
%3 = icmp uge i64 %.sroa.0.08.i.i, %.0.val
%4 = xor i1 %3, true
%spec.select6.i.i = zext i1 %not..i.i to i64
%spec.select6.i.i = add nuw i64 %.sroa.0.07.i.i, %4
%5 = load ptr, ptr %.8.val, align 8, !nonnull !42, !noundef !42
%6 = getelementptr inbounds i8, ptr %5, i64 %.sroa.0.08.i.i
%7 = load i8, ptr %6, align 1, !noundef !42
Expand All @@ -2094,9 +2095,9 @@ define internal fastcc void @"_ZN4core3ptr365drop_in_place$LT$hashbrown..scopegu
br label %13

13: ; preds = %9, %2
%.not.i.i.i = icmp ule i64 %spec.select6.i.i, %.0.val
%or.cond.not.i.i = select i1 %3, i1 %.not.i.i.i, i1 false
br i1 %or.cond.not.i.i, label %2, label %"_ZN88_$LT$hashbrown..scopeguard..ScopeGuard$LT$T$C$F$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17h1b41bde651fd00e8E.exit"
%.not.i.i.i = icmp ugt i64 %spec.select6.i.i, %.0.val
%or.cond.not.i.i = select i1 %3, i1 true, i1 %.not.i.i.i
br i1 %or.cond.not.i.i, label %"_ZN88_$LT$hashbrown..scopeguard..ScopeGuard$LT$T$C$F$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17h1b41bde651fd00e8E.exit", label %2

"_ZN88_$LT$hashbrown..scopeguard..ScopeGuard$LT$T$C$F$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17h1b41bde651fd00e8E.exit": ; preds = %13
ret void
Expand Down
15 changes: 8 additions & 7 deletions bench/actix-rs/optimized/520p8qtoxfmkvgyc.ll
Original file line number Diff line number Diff line change
Expand Up @@ -1782,9 +1782,10 @@ define internal fastcc void @"_ZN4core3ptr345drop_in_place$LT$hashbrown..scopegu

2: ; preds = %13, %0
%.sroa.0.08.i.i = phi i64 [ 0, %0 ], [ %spec.select6.i.i, %13 ]
%3 = icmp ult i64 %.sroa.0.08.i.i, %.0.val
%4 = zext i1 %3 to i64
%spec.select6.i.i = add nuw i64 %.sroa.0.08.i.i, %4
%3 = icmp uge i64 %.sroa.0.08.i.i, %.0.val
%4 = xor i1 %3, true
%spec.select6.i.i = zext i1 %not..i.i to i64
%spec.select6.i.i = add nuw i64 %.sroa.0.07.i.i, %4
%5 = load ptr, ptr %.8.val, align 8, !nonnull !4, !noundef !4
%6 = getelementptr inbounds i8, ptr %5, i64 %.sroa.0.08.i.i
%7 = load i8, ptr %6, align 1, !noundef !4
Expand All @@ -1799,9 +1800,9 @@ define internal fastcc void @"_ZN4core3ptr345drop_in_place$LT$hashbrown..scopegu
br label %13

13: ; preds = %9, %2
%.not.i.i.i = icmp ule i64 %spec.select6.i.i, %.0.val
%or.cond.not.i.i = select i1 %3, i1 %.not.i.i.i, i1 false
br i1 %or.cond.not.i.i, label %2, label %"_ZN88_$LT$hashbrown..scopeguard..ScopeGuard$LT$T$C$F$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17h0b4ac29b9db5d94eE.exit"
%.not.i.i.i = icmp ugt i64 %spec.select6.i.i, %.0.val
%or.cond.not.i.i = select i1 %3, i1 true, i1 %.not.i.i.i
br i1 %or.cond.not.i.i, label %"_ZN88_$LT$hashbrown..scopeguard..ScopeGuard$LT$T$C$F$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17h0b4ac29b9db5d94eE.exit", label %2

"_ZN88_$LT$hashbrown..scopeguard..ScopeGuard$LT$T$C$F$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17h0b4ac29b9db5d94eE.exit": ; preds = %13
ret void
Expand Down Expand Up @@ -12183,7 +12184,7 @@ _ZN4core4iter6traits8iterator8Iterator4fold17h0ee10cfa5508cb17E.exit.i: ; preds
to label %.thread.i unwind label %80, !noalias !2558

.thread.i: ; preds = %197, %"_ZN4core3ptr53drop_in_place$LT$http..header..value..HeaderValue$GT$17h40c2fab987dd4094E.exit40.i", %69, %49
%.pn2348.i = phi { ptr, i32 } [ %50, %49 ], [ %70, %69 ], [ %.pn.pn55.i, %"_ZN4core3ptr53drop_in_place$LT$http..header..value..HeaderValue$GT$17h40c2fab987dd4094E.exit40.i" ], [ %.pn.pn55.i, %197 ]
%.pn2348.i = phi { ptr, i32 } [ %50, %49 ], [ %70, %69 ], [ %.pn.pn55.i, %197 ], [ %.pn.pn55.i, %"_ZN4core3ptr53drop_in_place$LT$http..header..value..HeaderValue$GT$17h40c2fab987dd4094E.exit40.i" ]
invoke void @"_ZN75_$LT$http..header..map..Drain$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$4drop17h5482ec906d0c062aE.llvm.14998522591088738574"(ptr noalias noundef nonnull align 8 dereferenceable(56) %27)
to label %.body unwind label %80, !noalias !2558

Expand Down
Loading