Skip to content
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
8 changes: 4 additions & 4 deletions bench/abc/optimized/abcSaucy.c.ll
Original file line number Diff line number Diff line change
Expand Up @@ -8383,19 +8383,19 @@ define internal fastcc void @introsort_loop(ptr nocapture noundef %0, i32 nounde

9: ; preds = %14, %7
%.0.i.i = phi i32 [ %8, %7 ], [ %10, %14 ]
%10 = sdiv i32 %.0.i.i, 2
%11 = sext i32 %10 to i64
%10 = lshr i32 %.0.i.i, 1
%11 = zext nneg i32 %10 to i64
%12 = getelementptr inbounds i32, ptr %invariant.gep, i64 %11
%13 = load i32, ptr %12, align 4
%.not.i.i = icmp sgt i32 %.pre.i.i, %13
br i1 %.not.i.i, label %14, label %sift_up.exit.i

14: ; preds = %9
%15 = sext i32 %.0.i.i to i64
%15 = zext nneg i32 %.0.i.i to i64
%16 = getelementptr inbounds i32, ptr %invariant.gep, i64 %15
store i32 %13, ptr %16, align 4
store i32 %.pre.i.i, ptr %12, align 4
%17 = icmp sgt i32 %.0.i.i, 3
%17 = icmp ugt i32 %.0.i.i, 3
br i1 %17, label %9, label %sift_up.exit.i, !llvm.loop !108

sift_up.exit.i: ; preds = %14, %9
Expand Down
14 changes: 7 additions & 7 deletions bench/arrow/optimized/int_util.cc.ll
Original file line number Diff line number Diff line change
Expand Up @@ -22178,11 +22178,11 @@ if.end5.i.i.i: ; preds = %if.end.i.i.i

if.end9.i.i.i: ; preds = %if.end5.i.i.i
%cmp11.i.i.i = icmp ult i16 %value, 10000
%spec.select.i = select i1 %cmp11.i.i.i, i32 4, i32 5
%..i = select i1 %cmp11.i.i.i, i32 4, i32 5
br label %_ZNSt8__detail14__to_chars_lenIjEEjT_i.exit.i.i

_ZNSt8__detail14__to_chars_lenIjEEjT_i.exit.i.i: ; preds = %if.end9.i.i.i, %if.end5.i.i.i, %if.end.i.i.i, %if.end6.i
%retval.0.i.i.i = phi i32 [ 1, %if.end6.i ], [ 2, %if.end.i.i.i ], [ 3, %if.end5.i.i.i ], [ %spec.select.i, %if.end9.i.i.i ]
%retval.0.i.i.i = phi i32 [ 1, %if.end6.i ], [ 2, %if.end.i.i.i ], [ 3, %if.end5.i.i.i ], [ %..i, %if.end9.i.i.i ]
%sub.ptr.lhs.cast.i20.i = ptrtoint ptr %call1 to i64
%sub.ptr.rhs.cast.i21.i = ptrtoint ptr %call to i64
%sub.ptr.sub.i22.i = sub i64 %sub.ptr.lhs.cast.i20.i, %sub.ptr.rhs.cast.i21.i
Expand All @@ -22192,7 +22192,7 @@ _ZNSt8__detail14__to_chars_lenIjEEjT_i.exit.i.i: ; preds = %if.end9.i.i.i, %if.

while.body.lr.ph.thread: ; preds = %_ZNSt8__detail14__to_chars_lenIjEEjT_i.exit.i.i
%cmp11.i.i.i17164 = icmp ult i16 %value, 10000
%spec.select.i18165 = select i1 %cmp11.i.i.i17164, i32 4, i32 5
%..i18165 = select i1 %cmp11.i.i.i17164, i32 4, i32 5
br label %while.body.lr.ph.split

if.end.i25.i: ; preds = %_ZNSt8__detail14__to_chars_lenIjEEjT_i.exit.i.i
Expand Down Expand Up @@ -22259,7 +22259,7 @@ _ZSt12__to_chars_iItENSt9enable_ifIXsr5__or_ISt5__or_IJSt7is_sameINSt9remove_cvI

while.body.lr.ph: ; preds = %invoke.cont
%cmp11.i.i.i17 = icmp ult i16 %value, 10000
%spec.select.i18 = select i1 %cmp11.i.i.i17, i32 4, i32 5
%..i18 = select i1 %cmp11.i.i.i17, i32 4, i32 5
br i1 %cmp2.i9, label %while.body.us, label %while.body.lr.ph.split

while.body.us: ; preds = %while.body.lr.ph, %invoke.cont6.us
Expand All @@ -22280,14 +22280,14 @@ lpad2.loopexit.split.us: ; preds = %while.body.us
br label %lpad2

while.body.lr.ph.split: ; preds = %while.body.lr.ph.thread, %while.body.lr.ph
%spec.select.i18169 = phi i32 [ %spec.select.i18165, %while.body.lr.ph.thread ], [ %spec.select.i18, %while.body.lr.ph ]
%..i18169 = phi i32 [ %..i18165, %while.body.lr.ph.thread ], [ %..i18, %while.body.lr.ph ]
%cmp3.i.i.i13167 = icmp ult i16 %value, 100
%cmp6.i.i.i15168 = icmp ult i16 %value, 1000
%cmp14.i.i.i27 = icmp ugt i16 %value, 99
br i1 %cmp14.i.i.i27, label %while.body.us74.preheader, label %while.body.lr.ph.split.split

while.body.us74.preheader: ; preds = %while.body.lr.ph.split
%spec.select = select i1 %cmp6.i.i.i15168, i32 3, i32 %spec.select.i18169
%spec.select = select i1 %cmp6.i.i.i15168, i32 3, i32 %..i18169
%conv.i23.i24.us = zext nneg i32 %spec.select to i64
br label %while.body.us74

Expand Down Expand Up @@ -22376,7 +22376,7 @@ while.body.lr.ph.split.split: ; preds = %while.body.lr.ph.sp
br i1 %cmp9.i.i.i30, label %while.body.us93.preheader, label %while.body.us125

while.body.us93.preheader: ; preds = %while.body.lr.ph.split.split
%12 = zext nneg i32 %spec.select.i18169 to i64
%12 = zext nneg i32 %..i18169 to i64
%13 = select i1 %cmp6.i.i.i15168, i64 3, i64 %12
%conv.i23.i24.us109 = select i1 %cmp3.i.i.i13167, i64 2, i64 %13
br label %while.body.us93
Expand Down
4 changes: 2 additions & 2 deletions bench/arrow/optimized/row_internal.cc.ll
Original file line number Diff line number Diff line change
Expand Up @@ -1535,7 +1535,7 @@ _ZN5arrow6StatusD2Ev.exit188: ; preds = %do.end20
%fixed_length.i = getelementptr inbounds i8, ptr %this, i64 12
%26 = load i32, ptr %fixed_length.i, align 4
%conv.i150 = zext i32 %26 to i64
%mul.i151 = mul nuw nsw i64 %rows_capacity_new.0, %conv.i150
%mul.i151 = mul nsw i64 %rows_capacity_new.0, %conv.i150
%add.i152 = add nuw nsw i64 %mul.i151, 64
%vtable73 = load ptr, ptr %25, align 8
%vfn74 = getelementptr inbounds i8, ptr %vtable73, i64 24
Expand Down Expand Up @@ -1570,7 +1570,7 @@ do.end95: ; preds = %_ZN5arrow6StatusD2E
call void @llvm.memset.p0.i64(ptr align 1 %add.ptr101, i8 0, i64 %sub105, i1 false)
%37 = load i32, ptr %fixed_length.i, align 4
%conv.i245 = zext i32 %37 to i64
%mul.i246 = mul nuw nsw i64 %rows_capacity_new.0, %conv.i245
%mul.i246 = mul nsw i64 %rows_capacity_new.0, %conv.i245
%bytes_capacity_ = getelementptr inbounds i8, ptr %this, i64 192
store i64 %mul.i246, ptr %bytes_capacity_, align 8
br label %if.end108
Expand Down
2 changes: 1 addition & 1 deletion bench/assimp/optimized/3DSLoader.cpp.ll
Original file line number Diff line number Diff line change
Expand Up @@ -2641,7 +2641,7 @@ if.end15.i.i: ; preds = %if.then6.i.i, %whil
%number.addr.2.i.i = phi i32 [ %sub11.i.i.recomposed, %if.then6.i.i ], [ %number.addr.119.i.i, %while.body.i.i ]
%written.3.i.i = phi i32 [ %inc10.i.i, %if.then6.i.i ], [ %written.120.i.i, %while.body.i.i ]
%out.addr.3.i.i = phi ptr [ %incdec.ptr9.i.i, %if.then6.i.i ], [ %out.addr.123.i.i, %while.body.i.i ]
%div16.i.i = sdiv i32 %cur.021.i.i, 10
%div16.i.i = udiv i32 %cur.021.i.i, 10
%cmp2.i.i = icmp ult i32 %written.3.i.i, 10
br i1 %cmp2.i.i, label %while.body.i.i, label %_ZN6Assimp13ASSIMP_itoa10ILm10EEEjRAT__ci.exit, !llvm.loop !19

Expand Down
24 changes: 7 additions & 17 deletions bench/cmake/optimized/archive_write_set_format_iso9660.c.ll
Original file line number Diff line number Diff line change
Expand Up @@ -14373,23 +14373,13 @@ set_digit.exit23: ; preds = %50

set_digit.exit27: ; preds = %59
%66 = getelementptr inbounds i8, ptr %0, i64 14
br label %67

67: ; preds = %67, %set_digit.exit27
%.045.i29 = phi i64 [ 2, %set_digit.exit27 ], [ %68, %67 ]
%68 = add nsw i64 %.045.i29, -1
%69 = getelementptr inbounds i8, ptr %66, i64 %68
store i8 48, ptr %69, align 1
%.not.i30 = icmp eq i64 %68, 0
br i1 %.not.i30, label %set_digit.exit31, label %67, !llvm.loop !101

set_digit.exit31: ; preds = %67
%70 = getelementptr inbounds i8, ptr %0, i64 16
%71 = getelementptr inbounds i8, ptr %4, i64 40
%72 = load i64, ptr %71, align 8
%73 = sdiv i64 %72, 900
%74 = trunc i64 %73 to i8
store i8 %74, ptr %70, align 1
store i16 12336, ptr %66, align 1
%67 = getelementptr inbounds i8, ptr %0, i64 16
%68 = getelementptr inbounds i8, ptr %4, i64 40
%69 = load i64, ptr %68, align 8
%70 = sdiv i64 %69, 900
%71 = trunc i64 %70 to i8
store i8 %71, ptr %67, align 1
ret void
}

Expand Down
28 changes: 13 additions & 15 deletions bench/duckdb/optimized/ub_duckdb_common_types.cpp.ll
Original file line number Diff line number Diff line change
Expand Up @@ -35138,19 +35138,18 @@ land.rhs: ; preds = %for.cond57.preheade
%fraction.2747 = phi i64 [ %fraction.3, %for.body63 ], [ 0, %for.cond57.preheader ]
%arrayidx59 = getelementptr inbounds i8, ptr %str, i64 %pos.4749
%15 = load i8, ptr %arrayidx59, align 1, !tbaa !116
%16 = add i8 %15, -48
%.fr = freeze i8 %15
%16 = add i8 %.fr, -48
%17 = icmp ult i8 %16, 10
br i1 %17, label %for.body63, label %cleanup80

for.body63: ; preds = %land.rhs
%cmp64 = icmp sgt i32 %mult.0748, 0
%conv67 = zext nneg i8 %15 to i32
%conv67 = zext nneg i8 %.fr to i32
%sub68 = add nsw i32 %conv67, -48
%mul = mul nsw i32 %sub68, %mult.0748
%narrow = select i1 %cmp64, i32 %mul, i32 0
%add = sext i32 %narrow to i64
%fraction.3 = add nsw i64 %fraction.2747, %add
%div = sdiv i32 %mult.0748, 10
%mul = mul nuw nsw i32 %sub68, %mult.0748
%add = zext nneg i32 %mul to i64
%fraction.3 = add nuw nsw i64 %fraction.2747, %add
%div = udiv i32 %mult.0748, 10
%pos.4 = add nuw i64 %pos.4749, 1
%cmp58 = icmp ult i64 %pos.4, %len
br i1 %cmp58, label %land.rhs, label %cleanup80.thread, !llvm.loop !796
Expand Down Expand Up @@ -45901,20 +45900,19 @@ land.rhs57: ; preds = %if.then53, %for.bod
%46 = phi i64 [ %inc71, %for.body61 ], [ %inc54, %if.then53 ]
%arrayidx58 = getelementptr inbounds i8, ptr %buf, i64 %46
%47 = load i8, ptr %arrayidx58, align 1, !tbaa !116
%48 = add i8 %47, -48
%.fr = freeze i8 %47
%48 = add i8 %.fr, -48
%49 = icmp ult i8 %48, 10
br i1 %49, label %for.body61, label %if.end73.loopexit

for.body61: ; preds = %land.rhs57
%cmp62 = icmp sgt i32 %mult.0183, 0
%conv65 = zext nneg i8 %47 to i32
%conv65 = zext nneg i8 %.fr to i32
%sub66 = add nsw i32 %conv65, -48
%mul67 = mul nsw i32 %sub66, %mult.0183
%add68 = select i1 %cmp62, i32 %mul67, i32 0
%micros.1 = add nsw i32 %add68, %micros.0182
%mul67 = mul nuw nsw i32 %sub66, %mult.0183
%micros.1 = add nuw nsw i32 %mul67, %micros.0182
%inc71 = add i64 %46, 1
store i64 %inc71, ptr %pos, align 8, !tbaa !87
%div = sdiv i32 %mult.0183, 10
%div = udiv i32 %mult.0183, 10
%exitcond195.not = icmp eq i64 %inc71, %len
br i1 %exitcond195.not, label %if.end73.loopexit, label %land.rhs57, !llvm.loop !929

Expand Down
Loading