Skip to content

pre-commit: PR147263 #2552

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

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
26 changes: 12 additions & 14 deletions bench/abc/optimized/giaTransduction.ll
Original file line number Diff line number Diff line change
Expand Up @@ -16982,15 +16982,14 @@ _ZSt13copy_backwardISt13_Bit_iteratorS0_ET0_T_S2_S1_.exit: ; preds = %_ZNSt14_Bi
%59 = add nsw i64 %3, %29
%60 = sdiv i64 %59, 64
%.idx = shl nsw i64 %60, 3
%61 = getelementptr inbounds i8, ptr %1, i64 %.idx
%62 = and i64 %59, -9223372036854775745
%63 = icmp ugt i64 %62, -9223372036854775808
%storemerge.idx.i.i.i75.neg = select i1 %63, i64 8, i64 0
%storemerge.idx.i.i.i75 = select i1 %63, i64 -8, i64 0
%storemerge.i.i.i76 = getelementptr inbounds i8, ptr %61, i64 %storemerge.idx.i.i.i75
%61 = and i64 %59, -9223372036854775745
%62 = icmp ugt i64 %61, -9223372036854775808
%storemerge.idx.i.i.i75 = select i1 %62, i64 -8, i64 0
%63 = add nsw i64 %storemerge.idx.i.i.i75, %.idx
%storemerge.i.i.i76 = getelementptr inbounds i8, ptr %1, i64 %63
%64 = trunc i64 %59 to i32
%65 = and i32 %64, 63
%.not.i.i.i = icmp eq i64 %.idx, %storemerge.idx.i.i.i75.neg
%.not.i.i.i = icmp eq i64 %63, 0
br i1 %.not.i.i.i, label %91, label %66

66: ; preds = %_ZSt13copy_backwardISt13_Bit_iteratorS0_ET0_T_S2_S1_.exit
Expand Down Expand Up @@ -17181,15 +17180,14 @@ _ZNSt6vectorIbSaIbEE15_M_copy_alignedESt19_Bit_const_iteratorS2_St13_Bit_iterato
%152 = add nsw i64 %3, %151
%153 = sdiv i64 %152, 64
%.idx158 = shl nsw i64 %153, 3
%154 = getelementptr inbounds i8, ptr %.sroa.03.0.lcssa.i.i.i.i.i.i, i64 %.idx158
%155 = and i64 %152, -9223372036854775745
%156 = icmp ugt i64 %155, -9223372036854775808
%storemerge.idx.i.i.i85.neg = select i1 %156, i64 8, i64 0
%storemerge.idx.i.i.i85 = select i1 %156, i64 -8, i64 0
%storemerge.i.i.i86 = getelementptr inbounds i8, ptr %154, i64 %storemerge.idx.i.i.i85
%154 = and i64 %152, -9223372036854775745
%155 = icmp ugt i64 %154, -9223372036854775808
%storemerge.idx.i.i.i85 = select i1 %155, i64 -8, i64 0
%156 = add nsw i64 %storemerge.idx.i.i.i85, %.idx158
%storemerge.i.i.i86 = getelementptr inbounds i8, ptr %.sroa.03.0.lcssa.i.i.i.i.i.i, i64 %156
%157 = trunc i64 %152 to i32
%158 = and i32 %157, 63
%.not.i.i.i89 = icmp eq i64 %.idx158, %storemerge.idx.i.i.i85.neg
%.not.i.i.i89 = icmp eq i64 %156, 0
br i1 %.not.i.i.i89, label %185, label %159

159: ; preds = %_ZNSt6vectorIbSaIbEE15_M_copy_alignedESt19_Bit_const_iteratorS2_St13_Bit_iterator.exit
Expand Down
4 changes: 2 additions & 2 deletions bench/abseil-cpp/optimized/parser_test.ll
Original file line number Diff line number Diff line change
Expand Up @@ -24981,8 +24981,8 @@ _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEpLEc.exit: ; preds = %_ZNKS
br i1 %exitcond.not, label %84, label %86, !llvm.loop !306

.lr.ph.i.i.preheader: ; preds = %84
%110 = getelementptr inbounds nuw i8, ptr %.pre402, i64 %.pre400
%.sroa.0.08.i.i = getelementptr inbounds i8, ptr %110, i64 -1
%110 = getelementptr i8, ptr %.pre402, i64 %.pre400
%.sroa.0.08.i.i = getelementptr i8, ptr %110, i64 -1
br label %.lr.ph.i.i

.lr.ph.i.i: ; preds = %.lr.ph.i.i.preheader, %.lr.ph.i.i
Expand Down
8 changes: 4 additions & 4 deletions bench/boost/optimized/area.ll
Original file line number Diff line number Diff line change
Expand Up @@ -165249,8 +165249,8 @@ define linkonce_odr hidden void @_ZN5boost14multiprecision8backends13cpp_dec_flo
%22 = add i32 %21, -8
store i32 %22, ptr %6, align 4, !tbaa !1564
%.idx.i = shl nuw nsw i64 %18, 2
%23 = getelementptr inbounds nuw i8, ptr %5, i64 %.idx.i
%.012.i.i.i = getelementptr inbounds i8, ptr %23, i64 -4
%23 = getelementptr i8, ptr %5, i64 %.idx.i
%.012.i.i.i = getelementptr i8, ptr %23, i64 -4
br label %.lr.ph.i.i.i

.lr.ph.i.i.i: ; preds = %.lr.ph.i.i.i, %.lr.ph.i.i.preheader.i
Expand Down Expand Up @@ -165325,8 +165325,8 @@ _ZN5boost14multiprecision8backends13cpp_dec_floatILj50EivE23from_unsigned_long_l
%46 = add i32 %45, -8
store i32 %46, ptr %6, align 4, !tbaa !1564
%.idx.i14 = shl nuw nsw i64 %42, 2
%47 = getelementptr inbounds nuw i8, ptr %4, i64 %.idx.i14
%.012.i.i.i15 = getelementptr inbounds i8, ptr %47, i64 -4
%47 = getelementptr i8, ptr %4, i64 %.idx.i14
%.012.i.i.i15 = getelementptr i8, ptr %47, i64 -4
br label %.lr.ph.i.i.i16

.lr.ph.i.i.i16: ; preds = %.lr.ph.i.i.i16, %.lr.ph.i.i.preheader.i12
Expand Down
10 changes: 5 additions & 5 deletions bench/boost/optimized/cmdline.ll
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ _ZNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE
%16 = getelementptr inbounds nuw i8, ptr %4, i64 16
store ptr %15, ptr %16, align 8, !tbaa !36
%17 = invoke noundef ptr @_ZSt16__do_uninit_copyIPKPKcPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEET0_T_SC_SB_(ptr noundef nonnull %7, ptr noundef nonnull %.ptr13, ptr noundef %14)
to label %20 unwind label %18
to label %22 unwind label %18

.thread: ; preds = %_ZNSt16allocator_traitsISaINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEE8allocateERS6_m.exit.i.i.i, %11
%lpad.thr_comm = landingpad { ptr, i32 }
Expand All @@ -852,7 +852,7 @@ _ZNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE
%21 = getelementptr inbounds nuw i8, ptr %4, i64 8
store ptr %17, ptr %21, align 8, !tbaa !33
%22 = invoke noundef nonnull align 8 dereferenceable(24) ptr @_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EEaSERKS7_(ptr noundef nonnull align 8 dereferenceable(112) %0, ptr noundef nonnull align 8 dereferenceable(24) %4)
to label %23 unwind label %44
to label %25 unwind label %44

23: ; preds = %20
%24 = getelementptr inbounds nuw i8, ptr %0, i64 24
Expand All @@ -867,7 +867,7 @@ _ZNSt12_Vector_baseINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EE
br i1 %.not4.i.i.i.i, label %_ZSt8_DestroyIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_EvT_S7_RSaIT0_E.exit.i, label %.lr.ph.i.i.i.i

.lr.ph.i.i.i.i: ; preds = %23, %_ZSt8_DestroyINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEvPT_.exit.i.i.i.i
%.05.i.i.i.i = phi ptr [ %37, %_ZSt8_DestroyINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEvPT_.exit.i.i.i.i ], [ %27, %23 ]
%.05.i.i.i.i = phi ptr [ %37, %_ZSt8_DestroyINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEEEvPT_.exit.i.i.i.i ], [ %27, %25 ]
%29 = load ptr, ptr %.05.i.i.i.i, align 8, !tbaa !10
%30 = getelementptr inbounds nuw i8, ptr %.05.i.i.i.i, i64 16
%31 = icmp eq ptr %29, %30
Expand Down Expand Up @@ -896,7 +896,7 @@ _ZSt8_DestroyIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_EvT_S7_RSa
br label %_ZSt8_DestroyIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_EvT_S7_RSaIT0_E.exit.i

_ZSt8_DestroyIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_EvT_S7_RSaIT0_E.exit.i: ; preds = %_ZSt8_DestroyIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_EvT_S7_RSaIT0_E.exitthread-pre-split.i, %23
%38 = phi ptr [ %.pr.i, %_ZSt8_DestroyIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_EvT_S7_RSaIT0_E.exitthread-pre-split.i ], [ %27, %23 ]
%38 = phi ptr [ %.pr.i, %_ZSt8_DestroyIPNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES5_EvT_S7_RSaIT0_E.exitthread-pre-split.i ], [ %27, %25 ]
%.not.i.i.i10 = icmp eq ptr %38, null
br i1 %.not.i.i.i10, label %_ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev.exit, label %39

Expand All @@ -919,7 +919,7 @@ _ZNSt6vectorINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaIS5_EED2Ev.ex
br label %.body

.body: ; preds = %.thread, %19, %18, %44
%.pn = phi { ptr, i32 } [ %45, %44 ], [ %lpad.thr_comm.split-lp, %19 ], [ %lpad.thr_comm.split-lp, %18 ], [ %lpad.thr_comm, %.thread ]
%.pn = phi { ptr, i32 } [ %45, %46 ], [ %lpad.thr_comm.split-lp, %21 ], [ %lpad.thr_comm.split-lp, %20 ], [ %lpad.thr_comm, %.thread ]
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4) #28
call void @_ZN5boost10function_nISt6vectorINS_15program_options12basic_optionIcEESaIS4_EEJRS1_INSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEESaISC_EEEED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %6) #28
call void @_ZN5boost10function_nISt4pairINSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEES7_EJRKS7_EED2Ev(ptr noundef nonnull align 8 dereferenceable(32) %5) #28
Expand Down
Loading