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: PR111233 #1443

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
4 changes: 2 additions & 2 deletions bench/abc/optimized/cuddEssent.c.ll
Original file line number Diff line number Diff line change
Expand Up @@ -2167,7 +2167,7 @@ beforep.exit465.thread32: ; preds = %455, %451, %beforep
br i1 %525, label %526, label %533

526: ; preds = %524
%527 = add nsw i32 %518, -1
%527 = add nsw i32 %518, -2
%528 = ashr i32 %527, 6
%529 = add nsw i32 %528, 1
%530 = sext i32 %529 to i64
Expand Down Expand Up @@ -2447,7 +2447,7 @@ tlcInfoAlloc.exit: ; preds = %2
br i1 %17, label %Cudd_tlcInfoFree.exit, label %18

18: ; preds = %12
%19 = add nuw i64 %indvars.iv, 3
%19 = add nuw i64 %indvars.iv, 2
%20 = lshr i64 %19, 3
%21 = and i64 %20, 268435448
%22 = add nuw nsw i64 %21, 8
Expand Down
96 changes: 47 additions & 49 deletions bench/abseil-cpp/optimized/hash_instantiated_test.cc.ll
Original file line number Diff line number Diff line change
Expand Up @@ -129239,9 +129239,9 @@ if.then12: ; preds = %if.then9
%11 = shl nuw nsw i8 %8, 1
%12 = tail call i8 @llvm.umin.i8(i8 %11, i8 61)
%13 = shl nuw i8 %12, 2
%mul.i.i.i.i.i = zext i8 %13 to i64
%sub.i.i.i.i.i.i = add nuw nsw i64 %mul.i.i.i.i.i, 19
%div1.i.i.i.i = and i64 %sub.i.i.i.i.i.i, 504
%reass.mul.i.i.i.i.i = zext i8 %13 to i64
%sub.i.i.i.i = add nuw nsw i64 %reass.mul.i.i.i.i.i, 16
%div1.i.i.i.i = and i64 %sub.i.i.i.i, 504
%call5.i.i2.i.i.i.i = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %div1.i.i.i.i) #33
store ptr %call5.i.i2.i.i.i.i, ptr %call5.i.i2.i.i.i.i, align 8
%add.ptr.i.i.i.i.i.i5 = getelementptr i8, ptr %call5.i.i2.i.i.i.i, i64 8
Expand Down Expand Up @@ -130081,8 +130081,8 @@ while.body.preheader.i: ; preds = %if.end.i
br label %while.body.i

while.body.i: ; preds = %while.body.i, %while.body.preheader.i
%node.addr.071.i = phi ptr [ %5, %while.body.i ], [ %1, %while.body.preheader.i ]
%add.ptr.i.i.i.i.i = getelementptr inbounds i8, ptr %node.addr.071.i, i64 256
%node.addr.070.i = phi ptr [ %5, %while.body.i ], [ %1, %while.body.preheader.i ]
%add.ptr.i.i.i.i.i = getelementptr inbounds i8, ptr %node.addr.070.i, i64 256
%5 = load ptr, ptr %add.ptr.i.i.i.i.i, align 8
%arrayidx.i.i46.i = getelementptr i8, ptr %5, i64 11
%6 = load i8, ptr %arrayidx.i.i46.i, align 1
Expand All @@ -130108,8 +130108,8 @@ do.body.i: ; preds = %do.body.i.backedge,
br i1 %cmp.i.not.i50.i, label %while.body22.i, label %if.end28.i

while.body22.i: ; preds = %do.body.i, %while.body22.i
%node.addr.274.i = phi ptr [ %11, %while.body22.i ], [ %9, %do.body.i ]
%add.ptr.i.i.i.i53.i = getelementptr inbounds i8, ptr %node.addr.274.i, i64 256
%node.addr.273.i = phi ptr [ %11, %while.body22.i ], [ %9, %do.body.i ]
%add.ptr.i.i.i.i53.i = getelementptr inbounds i8, ptr %node.addr.273.i, i64 256
%11 = load ptr, ptr %add.ptr.i.i.i.i53.i, align 8
%arrayidx.i.i51.i = getelementptr i8, ptr %11, i64 11
%12 = load i8, ptr %arrayidx.i.i51.i, align 1
Expand All @@ -130128,8 +130128,8 @@ if.end28.i: ; preds = %while.end24.i, %do.
%pos.2.i = phi i64 [ %conv26.i, %while.end24.i ], [ %pos.1.i, %do.body.i ]
%parent.2.i = phi ptr [ %14, %while.end24.i ], [ %parent.1.i, %do.body.i ]
tail call void @_ZdlPv(ptr noundef nonnull %node.addr.1.i) #32
%arrayidx.i62.i = getelementptr i8, ptr %parent.2.i, i64 10
%15 = load i8, ptr %arrayidx.i62.i, align 1
%arrayidx.i61.i = getelementptr i8, ptr %parent.2.i, i64 10
%15 = load i8, ptr %arrayidx.i61.i, align 1
%conv35.i = zext i8 %15 to i64
%cmp36.not.not.i = icmp ult i64 %pos.2.i, %conv35.i
br i1 %cmp36.not.not.i, label %do.body.i.backedge, label %do.body37.i
Expand All @@ -130142,16 +130142,16 @@ do.body.i.backedge: ; preds = %if.end28.i, %do.end

do.body37.i: ; preds = %if.end28.i, %if.end46.i
%parent.3.i = phi ptr [ %17, %if.end46.i ], [ %parent.2.i, %if.end28.i ]
%add.ptr.i.i.i63.i = getelementptr i8, ptr %parent.3.i, i64 8
%16 = load i8, ptr %add.ptr.i.i.i63.i, align 1
%add.ptr.i.i.i62.i = getelementptr i8, ptr %parent.3.i, i64 8
%16 = load i8, ptr %add.ptr.i.i.i62.i, align 1
%17 = load ptr, ptr %parent.3.i, align 8
tail call void @_ZdlPv(ptr noundef nonnull %parent.3.i) #32
%cmp44.i = icmp eq ptr %17, %4
br i1 %cmp44.i, label %if.end, label %if.end46.i

if.end46.i: ; preds = %do.body37.i
%arrayidx.i65.i = getelementptr i8, ptr %17, i64 10
%18 = load i8, ptr %arrayidx.i65.i, align 1
%arrayidx.i64.i = getelementptr i8, ptr %17, i64 10
%18 = load i8, ptr %arrayidx.i64.i, align 1
%cmp51.not.i = icmp ult i8 %16, %18
br i1 %cmp51.not.i, label %do.end52.i, label %do.body37.i, !llvm.loop !3685

Expand Down Expand Up @@ -130589,9 +130589,9 @@ if.then12: ; preds = %if.then9
%11 = shl nuw nsw i8 %8, 1
%12 = tail call i8 @llvm.umin.i8(i8 %11, i8 61)
%13 = shl nuw i8 %12, 2
%mul.i.i.i.i.i = zext i8 %13 to i64
%sub.i.i.i.i.i.i = add nuw nsw i64 %mul.i.i.i.i.i, 19
%div1.i.i.i.i = and i64 %sub.i.i.i.i.i.i, 504
%reass.mul.i.i.i.i.i = zext i8 %13 to i64
%sub.i.i.i.i = add nuw nsw i64 %reass.mul.i.i.i.i.i, 16
%div1.i.i.i.i = and i64 %sub.i.i.i.i, 504
%call5.i.i2.i.i.i.i = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %div1.i.i.i.i) #33
store ptr %call5.i.i2.i.i.i.i, ptr %call5.i.i2.i.i.i.i, align 8
%add.ptr.i.i.i.i.i.i5 = getelementptr i8, ptr %call5.i.i2.i.i.i.i, i64 8
Expand Down Expand Up @@ -273332,9 +273332,8 @@ if.then12: ; preds = %if.then9
%11 = tail call i8 @llvm.umin.i8(i8 %10, i8 6)
%narrow = mul nuw i8 %11, 40
%mul.i.i.i.i.i = zext i8 %narrow to i64
%add.i.i.i.i.i = add nuw nsw i64 %mul.i.i.i.i.i, 19
%div1.i.i.i.i = and i64 %add.i.i.i.i.i, 496
%call5.i.i2.i.i.i.i = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %div1.i.i.i.i) #33
%sub.i.i.i.i = add nuw nsw i64 %mul.i.i.i.i.i, 16
%call5.i.i2.i.i.i.i = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %sub.i.i.i.i) #33
store ptr %call5.i.i2.i.i.i.i, ptr %call5.i.i2.i.i.i.i, align 8
%add.ptr.i.i.i.i.i.i5 = getelementptr i8, ptr %call5.i.i2.i.i.i.i, i64 8
store i8 0, ptr %add.ptr.i.i.i.i.i.i5, align 1
Expand Down Expand Up @@ -273725,8 +273724,8 @@ while.body.preheader: ; preds = %if.end
br label %while.body

while.body: ; preds = %while.body.preheader, %while.body
%node.addr.095 = phi ptr [ %3, %while.body ], [ %node, %while.body.preheader ]
%add.ptr.i.i.i.i48 = getelementptr inbounds i8, ptr %node.addr.095, i64 256
%node.addr.094 = phi ptr [ %3, %while.body ], [ %node, %while.body.preheader ]
%add.ptr.i.i.i.i48 = getelementptr inbounds i8, ptr %node.addr.094, i64 256
%3 = load ptr, ptr %add.ptr.i.i.i.i48, align 8
%arrayidx.i.i47 = getelementptr i8, ptr %3, i64 11
%4 = load i8, ptr %arrayidx.i.i47, align 1
Expand All @@ -273752,8 +273751,8 @@ do.body: ; preds = %do.body.backedge, %
br i1 %cmp.i.not.i52, label %while.body22, label %if.end28

while.body22: ; preds = %do.body, %while.body22
%node.addr.298 = phi ptr [ %9, %while.body22 ], [ %7, %do.body ]
%add.ptr.i.i.i.i55 = getelementptr inbounds i8, ptr %node.addr.298, i64 256
%node.addr.297 = phi ptr [ %9, %while.body22 ], [ %7, %do.body ]
%add.ptr.i.i.i.i55 = getelementptr inbounds i8, ptr %node.addr.297, i64 256
%9 = load ptr, ptr %add.ptr.i.i.i.i55, align 8
%arrayidx.i.i53 = getelementptr i8, ptr %9, i64 11
%10 = load i8, ptr %arrayidx.i.i53, align 1
Expand Down Expand Up @@ -273789,8 +273788,8 @@ for.body.i63: ; preds = %if.end28, %for.body

_ZN4absl18container_internal10btree_nodeINS0_10map_paramsIiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIiESaISt4pairIKiS8_EELi256ELb0EEEE15value_destroy_nEhhPSE_.exit68: ; preds = %for.body.i63, %if.end28
tail call void @_ZdlPv(ptr noundef %node.addr.1) #32
%arrayidx.i75 = getelementptr i8, ptr %parent.2, i64 10
%14 = load i8, ptr %arrayidx.i75, align 1
%arrayidx.i74 = getelementptr i8, ptr %parent.2, i64 10
%14 = load i8, ptr %arrayidx.i74, align 1
%conv35 = zext i8 %14 to i64
%cmp36.not.not = icmp ult i64 %pos.2, %conv35
br i1 %cmp36.not.not, label %do.body.backedge, label %do.body37
Expand All @@ -273804,31 +273803,31 @@ do.body.backedge: ; preds = %_ZN4absl18container
do.body37: ; preds = %_ZN4absl18container_internal10btree_nodeINS0_10map_paramsIiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIiESaISt4pairIKiS8_EELi256ELb0EEEE15value_destroy_nEhhPSE_.exit68, %if.end46
%15 = phi i8 [ %18, %if.end46 ], [ %14, %_ZN4absl18container_internal10btree_nodeINS0_10map_paramsIiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIiESaISt4pairIKiS8_EELi256ELb0EEEE15value_destroy_nEhhPSE_.exit68 ]
%parent.3 = phi ptr [ %17, %if.end46 ], [ %parent.2, %_ZN4absl18container_internal10btree_nodeINS0_10map_paramsIiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIiESaISt4pairIKiS8_EELi256ELb0EEEE15value_destroy_nEhhPSE_.exit68 ]
%add.ptr.i.i.i76 = getelementptr i8, ptr %parent.3, i64 8
%16 = load i8, ptr %add.ptr.i.i.i76, align 1
%add.ptr.i.i.i75 = getelementptr i8, ptr %parent.3, i64 8
%16 = load i8, ptr %add.ptr.i.i.i75, align 1
%17 = load ptr, ptr %parent.3, align 8
%add.ptr.i.i.i.i78 = getelementptr inbounds i8, ptr %parent.3, i64 16
%conv3.i80 = zext i8 %15 to i64
%arrayidx.i6.i81 = getelementptr inbounds %"union.absl::container_internal::map_slot_type", ptr %add.ptr.i.i.i.i78, i64 %conv3.i80
%cmp.not7.i82 = icmp eq i8 %15, 0
br i1 %cmp.not7.i82, label %_ZN4absl18container_internal10btree_nodeINS0_10map_paramsIiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIiESaISt4pairIKiS8_EELi256ELb0EEEE15value_destroy_nEhhPSE_.exit88, label %for.body.i83

for.body.i83: ; preds = %do.body37, %for.body.i83
%s.08.i84 = phi ptr [ %incdec.ptr.i86, %for.body.i83 ], [ %add.ptr.i.i.i.i78, %do.body37 ]
%second.i.i.i.i.i.i85 = getelementptr inbounds i8, ptr %s.08.i84, i64 8
tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %second.i.i.i.i.i.i85) #29
%incdec.ptr.i86 = getelementptr inbounds i8, ptr %s.08.i84, i64 40
%cmp.not.i87 = icmp eq ptr %incdec.ptr.i86, %arrayidx.i6.i81
br i1 %cmp.not.i87, label %_ZN4absl18container_internal10btree_nodeINS0_10map_paramsIiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIiESaISt4pairIKiS8_EELi256ELb0EEEE15value_destroy_nEhhPSE_.exit88, label %for.body.i83, !llvm.loop !6773

_ZN4absl18container_internal10btree_nodeINS0_10map_paramsIiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIiESaISt4pairIKiS8_EELi256ELb0EEEE15value_destroy_nEhhPSE_.exit88: ; preds = %for.body.i83, %do.body37
%add.ptr.i.i.i.i77 = getelementptr inbounds i8, ptr %parent.3, i64 16
%conv3.i79 = zext i8 %15 to i64
%arrayidx.i6.i80 = getelementptr inbounds %"union.absl::container_internal::map_slot_type", ptr %add.ptr.i.i.i.i77, i64 %conv3.i79
%cmp.not7.i81 = icmp eq i8 %15, 0
br i1 %cmp.not7.i81, label %_ZN4absl18container_internal10btree_nodeINS0_10map_paramsIiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIiESaISt4pairIKiS8_EELi256ELb0EEEE15value_destroy_nEhhPSE_.exit87, label %for.body.i82

for.body.i82: ; preds = %do.body37, %for.body.i82
%s.08.i83 = phi ptr [ %incdec.ptr.i85, %for.body.i82 ], [ %add.ptr.i.i.i.i77, %do.body37 ]
%second.i.i.i.i.i.i84 = getelementptr inbounds i8, ptr %s.08.i83, i64 8
tail call void @_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEED1Ev(ptr noundef nonnull align 8 dereferenceable(32) %second.i.i.i.i.i.i84) #29
%incdec.ptr.i85 = getelementptr inbounds i8, ptr %s.08.i83, i64 40
%cmp.not.i86 = icmp eq ptr %incdec.ptr.i85, %arrayidx.i6.i80
br i1 %cmp.not.i86, label %_ZN4absl18container_internal10btree_nodeINS0_10map_paramsIiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIiESaISt4pairIKiS8_EELi256ELb0EEEE15value_destroy_nEhhPSE_.exit87, label %for.body.i82, !llvm.loop !6773

_ZN4absl18container_internal10btree_nodeINS0_10map_paramsIiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIiESaISt4pairIKiS8_EELi256ELb0EEEE15value_destroy_nEhhPSE_.exit87: ; preds = %for.body.i82, %do.body37
tail call void @_ZdlPv(ptr noundef %parent.3) #32
%cmp44 = icmp eq ptr %17, %2
br i1 %cmp44, label %return, label %if.end46

if.end46: ; preds = %_ZN4absl18container_internal10btree_nodeINS0_10map_paramsIiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIiESaISt4pairIKiS8_EELi256ELb0EEEE15value_destroy_nEhhPSE_.exit88
%arrayidx.i89 = getelementptr i8, ptr %17, i64 10
%18 = load i8, ptr %arrayidx.i89, align 1
if.end46: ; preds = %_ZN4absl18container_internal10btree_nodeINS0_10map_paramsIiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIiESaISt4pairIKiS8_EELi256ELb0EEEE15value_destroy_nEhhPSE_.exit87
%arrayidx.i88 = getelementptr i8, ptr %17, i64 10
%18 = load i8, ptr %arrayidx.i88, align 1
%cmp51.not = icmp ult i8 %16, %18
br i1 %cmp51.not, label %do.end52, label %do.body37, !llvm.loop !6777

Expand All @@ -273840,7 +273839,7 @@ return.sink.split: ; preds = %for.body.i, %if.end
tail call void @_ZdlPv(ptr noundef %node) #32
br label %return

return: ; preds = %_ZN4absl18container_internal10btree_nodeINS0_10map_paramsIiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIiESaISt4pairIKiS8_EELi256ELb0EEEE15value_destroy_nEhhPSE_.exit88, %return.sink.split
return: ; preds = %_ZN4absl18container_internal10btree_nodeINS0_10map_paramsIiNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESt4lessIiESaISt4pairIKiS8_EELi256ELb0EEEE15value_destroy_nEhhPSE_.exit87, %return.sink.split
ret void
}

Expand Down Expand Up @@ -274746,9 +274745,8 @@ if.then12: ; preds = %if.then9
%11 = tail call i8 @llvm.umin.i8(i8 %10, i8 6)
%narrow = mul nuw i8 %11, 40
%mul.i.i.i.i.i = zext i8 %narrow to i64
%add.i.i.i.i.i = add nuw nsw i64 %mul.i.i.i.i.i, 19
%div1.i.i.i.i = and i64 %add.i.i.i.i.i, 496
%call5.i.i2.i.i.i.i = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %div1.i.i.i.i) #33
%sub.i.i.i.i = add nuw nsw i64 %mul.i.i.i.i.i, 16
%call5.i.i2.i.i.i.i = tail call noalias noundef nonnull ptr @_Znwm(i64 noundef %sub.i.i.i.i) #33
store ptr %call5.i.i2.i.i.i.i, ptr %call5.i.i2.i.i.i.i, align 8
%add.ptr.i.i.i.i.i.i5 = getelementptr i8, ptr %call5.i.i2.i.i.i.i, i64 8
store i8 0, ptr %add.ptr.i.i.i.i.i.i5, align 1
Expand Down
Loading