Skip to content

Commit

Permalink
pre-commit: Update
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions[bot] committed Dec 29, 2023
1 parent 92596aa commit ec88678
Show file tree
Hide file tree
Showing 15 changed files with 1,889 additions and 2,102 deletions.
184 changes: 92 additions & 92 deletions bench/arrow/optimized/diff.cc.ll

Large diffs are not rendered by default.

184 changes: 92 additions & 92 deletions bench/arrow/optimized/scalar_cast_string.cc.ll

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions bench/cpython/optimized/_codecs_jp.ll
Original file line number Diff line number Diff line change
Expand Up @@ -1059,20 +1059,20 @@ if.then236: ; preds = %if.else230
%div.lhs.trunc = trunc i32 %26 to i16
%div74 = udiv i16 %div.lhs.trunc, 188
%rem75 = urem i16 %div.lhs.trunc, 188
%rem.zext = trunc i16 %rem75 to i8
%27 = trunc i16 %div74 to i8
%conv244 = or disjoint i8 %27, -16
%28 = load ptr, ptr %outbuf, align 8
store i8 %conv244, ptr %28, align 1
%cmp249 = icmp ult i16 %rem75, 63
%cond258.v = select i1 %cmp249, i8 64, i8 65
%cond258 = add nuw i8 %cond258.v, %rem.zext
%cmp249.not = icmp eq i16 %rem75, 63
%29 = trunc i16 %rem75 to i8
%30 = add nuw i8 %29, 64
%conv259 = select i1 %cmp249.not, i8 -128, i8 %30
br label %do.body267

do.body267: ; preds = %if.end184, %if.then236, %do.body126
%conv227.sink = phi i8 [ %conv227, %if.end184 ], [ %cond258, %if.then236 ], [ %conv135, %do.body126 ]
%29 = load ptr, ptr %outbuf, align 8
%arrayidx228 = getelementptr i8, ptr %29, i64 1
%conv227.sink = phi i8 [ %conv227, %if.end184 ], [ %conv259, %if.then236 ], [ %conv135, %do.body126 ]
%31 = load ptr, ptr %outbuf, align 8
%arrayidx228 = getelementptr i8, ptr %31, i64 1
store i8 %conv227.sink, ptr %arrayidx228, align 1
br label %while.cond.backedge

Expand Down
82 changes: 28 additions & 54 deletions bench/duckdb/optimized/ub_duckdb_common_operators.cpp.ll
Original file line number Diff line number Diff line change
Expand Up @@ -45551,9 +45551,9 @@ cond.end: ; preds = %cond.false, %_ZN6du
%add = add nsw i64 %cond, %inc
%div11.lhs.trunc = trunc i32 %rem to i16
%div11162 = udiv i16 %div11.lhs.trunc, 60
%tobool.not = icmp ult i32 %rem, 60
%tobool.not.not = icmp eq i32 %rem, 60
%add12 = add nsw i64 %add, 3
%spec.select = select i1 %tobool.not, i64 %add, i64 %add12
%spec.select = select i1 %tobool.not.not, i64 %add12, i64 %add
%rem13163 = urem i16 %div11.lhs.trunc, 60
%tobool14.not = icmp eq i16 %rem13163, 0
%add16 = add nsw i64 %spec.select, 3
Expand Down Expand Up @@ -45758,37 +45758,17 @@ if.end.i: ; preds = %while.end.i
br label %if.end35

if.end35: ; preds = %if.end.i, %if.then.i100, %_ZN6duckdb16TimeToStringCast15FormatTwoDigitsEPci.exit
br i1 %tobool.not, label %if.end44, label %if.then39
br i1 %tobool.not.not, label %_ZN6duckdb16TimeToStringCast15FormatTwoDigitsEPci.exit119, label %if.end44

if.then39: ; preds = %if.end35
_ZN6duckdb16TimeToStringCast15FormatTwoDigitsEPci.exit119: ; preds = %if.end35
%arrayidx41 = getelementptr inbounds i8, ptr %cond.i, i64 %add
store i8 58, ptr %arrayidx41, align 1, !tbaa !7
%add.ptr42 = getelementptr i8, ptr %arrayidx41, i64 1
%cmp.i107 = icmp ult i16 %div11.lhs.trunc, 600
br i1 %cmp.i107, label %if.then.i117, label %if.else.i108

if.then.i117: ; preds = %if.then39
store i8 48, ptr %add.ptr42, align 1, !tbaa !7
%44 = trunc i16 %div11162 to i8
%conv.i118 = add nuw nsw i8 %44, 48
br label %_ZN6duckdb16TimeToStringCast15FormatTwoDigitsEPci.exit119

if.else.i108: ; preds = %if.then39
%45 = shl nuw nsw i16 %div11162, 1
%idxprom.i110 = zext nneg i16 %45 to i64
%arrayidx2.i111 = getelementptr inbounds [0 x i8], ptr @_ZN10duckdb_fmt2v68internal10basic_dataIvE6digitsE, i64 0, i64 %idxprom.i110
%46 = load i8, ptr %arrayidx2.i111, align 1, !tbaa !7
store i8 %46, ptr %add.ptr42, align 1, !tbaa !7
%47 = or disjoint i16 %45, 1
%idxprom5.i113 = zext nneg i16 %47 to i64
%arrayidx6.i114 = getelementptr inbounds [0 x i8], ptr @_ZN10duckdb_fmt2v68internal10basic_dataIvE6digitsE, i64 0, i64 %idxprom5.i113
%48 = load i8, ptr %arrayidx6.i114, align 1, !tbaa !7
br label %_ZN6duckdb16TimeToStringCast15FormatTwoDigitsEPci.exit119

_ZN6duckdb16TimeToStringCast15FormatTwoDigitsEPci.exit119: ; preds = %if.else.i108, %if.then.i117
%.sink.i116 = phi i8 [ %conv.i118, %if.then.i117 ], [ %48, %if.else.i108 ]
%49 = getelementptr i8, ptr %arrayidx41, i64 2
store i8 %.sink.i116, ptr %49, align 1
%conv.i118 = or disjoint i8 %44, 48
%45 = getelementptr i8, ptr %arrayidx41, i64 2
store i8 %conv.i118, ptr %45, align 1
br label %if.end44

if.end44: ; preds = %_ZN6duckdb16TimeToStringCast15FormatTwoDigitsEPci.exit119, %if.end35
Expand All @@ -45799,54 +45779,48 @@ if.then46: ; preds = %if.end44
%arrayidx48 = getelementptr inbounds i8, ptr %cond.i, i64 %pos.0
store i8 58, ptr %arrayidx48, align 1, !tbaa !7
%add.ptr49 = getelementptr i8, ptr %arrayidx48, i64 1
%cmp.i120 = icmp ult i16 %rem13163, 10
br i1 %cmp.i120, label %if.then.i130, label %if.else.i121
%cmp.i120.not = icmp eq i16 %rem13163, 10
br i1 %cmp.i120.not, label %if.else.i121, label %if.then.i130

if.then.i130: ; preds = %if.then46
store i8 48, ptr %add.ptr49, align 1, !tbaa !7
%50 = trunc i16 %rem13163 to i8
%conv.i131 = or disjoint i8 %50, 48
%46 = trunc i16 %rem13163 to i8
%conv.i131 = or disjoint i8 %46, 48
br label %_ZN6duckdb16TimeToStringCast15FormatTwoDigitsEPci.exit132

if.else.i121: ; preds = %if.then46
%51 = shl nuw nsw i16 %rem13163, 1
%idxprom.i123 = zext nneg i16 %51 to i64
%arrayidx2.i124 = getelementptr inbounds [0 x i8], ptr @_ZN10duckdb_fmt2v68internal10basic_dataIvE6digitsE, i64 0, i64 %idxprom.i123
%52 = load i8, ptr %arrayidx2.i124, align 1, !tbaa !7
store i8 %52, ptr %add.ptr49, align 1, !tbaa !7
%53 = or disjoint i16 %51, 1
%idxprom5.i126 = zext nneg i16 %53 to i64
%arrayidx6.i127 = getelementptr inbounds [0 x i8], ptr @_ZN10duckdb_fmt2v68internal10basic_dataIvE6digitsE, i64 0, i64 %idxprom5.i126
%54 = load i8, ptr %arrayidx6.i127, align 1, !tbaa !7
%47 = load i8, ptr getelementptr inbounds ([0 x i8], ptr @_ZN10duckdb_fmt2v68internal10basic_dataIvE6digitsE, i64 0, i64 20), align 1, !tbaa !7
store i8 %47, ptr %add.ptr49, align 1, !tbaa !7
%48 = load i8, ptr getelementptr inbounds ([0 x i8], ptr @_ZN10duckdb_fmt2v68internal10basic_dataIvE6digitsE, i64 0, i64 21), align 1, !tbaa !7
br label %_ZN6duckdb16TimeToStringCast15FormatTwoDigitsEPci.exit132

_ZN6duckdb16TimeToStringCast15FormatTwoDigitsEPci.exit132: ; preds = %if.else.i121, %if.then.i130
%.sink.i129 = phi i8 [ %conv.i131, %if.then.i130 ], [ %54, %if.else.i121 ]
%55 = getelementptr i8, ptr %arrayidx48, i64 2
store i8 %.sink.i129, ptr %55, align 1
%.sink.i129 = phi i8 [ %conv.i131, %if.then.i130 ], [ %48, %if.else.i121 ]
%49 = getelementptr i8, ptr %arrayidx48, i64 2
store i8 %.sink.i129, ptr %49, align 1
br label %if.end51

if.end51: ; preds = %_ZN6duckdb16TimeToStringCast15FormatTwoDigitsEPci.exit132, %if.end44
%56 = load i32, ptr %retval, align 8, !tbaa !7
%cmp.i133 = icmp ult i32 %56, 13
%50 = load i32, ptr %retval, align 8, !tbaa !7
%cmp.i133 = icmp ult i32 %50, 13
br i1 %cmp.i133, label %for.cond.preheader.i, label %if.else.i134

for.cond.preheader.i: ; preds = %if.end51
%cmp39.not.i = icmp eq i32 %56, 12
%cmp39.not.i = icmp eq i32 %50, 12
br i1 %cmp39.not.i, label %_ZN6duckdb8string_t8FinalizeEv.exit, label %for.body.preheader.i

for.body.preheader.i: ; preds = %for.cond.preheader.i
%conv.i.i136 = zext nneg i32 %56 to i64
%57 = getelementptr i8, ptr %retval, i64 %conv.i.i136
%scevgep.i = getelementptr i8, ptr %57, i64 4
%58 = sub nuw nsw i64 12, %conv.i.i136
call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(1) %scevgep.i, i8 0, i64 %58, i1 false), !tbaa !7
%conv.i.i136 = zext nneg i32 %50 to i64
%51 = getelementptr i8, ptr %retval, i64 %conv.i.i136
%scevgep.i = getelementptr i8, ptr %51, i64 4
%52 = sub nuw nsw i64 12, %conv.i.i136
call void @llvm.memset.p0.i64(ptr noundef nonnull align 1 dereferenceable(1) %scevgep.i, i8 0, i64 %52, i1 false), !tbaa !7
br label %_ZN6duckdb8string_t8FinalizeEv.exit

if.else.i134: ; preds = %if.end51
%59 = load ptr, ptr %18, align 8
%60 = load i32, ptr %59, align 1
store i32 %60, ptr %inlined.i, align 4
%53 = load ptr, ptr %18, align 8
%54 = load i32, ptr %53, align 1
store i32 %54, ptr %inlined.i, align 4
br label %_ZN6duckdb8string_t8FinalizeEv.exit

_ZN6duckdb8string_t8FinalizeEv.exit: ; preds = %if.else.i134, %for.body.preheader.i, %for.cond.preheader.i
Expand Down
Loading

0 comments on commit ec88678

Please sign in to comment.