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
6 changes: 2 additions & 4 deletions bench/arrow/optimized/UriQuery.c.ll
Original file line number Diff line number Diff line change
Expand Up @@ -788,8 +788,7 @@ lor.lhs.false20: ; preds = %entry
%cmp23 = icmp eq ptr %valueFirst, null
%cmp26 = icmp eq ptr %valueAfter, null
%0 = and i1 %cmp21, %cmp26
%or.cond4 = and i1 %cmp23, %0
br i1 %or.cond4, label %return, label %if.end
br i1 %0, label %return, label %if.end

if.end: ; preds = %lor.lhs.false20
%1 = load ptr, ptr %memory, align 8
Expand Down Expand Up @@ -1673,8 +1672,7 @@ lor.lhs.false21: ; preds = %entry
%cmp24 = icmp eq ptr %valueFirst, null
%cmp27 = icmp eq ptr %valueAfter, null
%0 = and i1 %cmp22, %cmp27
%or.cond4 = and i1 %cmp24, %0
br i1 %or.cond4, label %return, label %if.end
br i1 %0, label %return, label %if.end

if.end: ; preds = %lor.lhs.false21
%1 = load ptr, ptr %memory, align 8
Expand Down
374 changes: 186 additions & 188 deletions bench/clamav/optimized/spin.c.ll

Large diffs are not rendered by default.

4 changes: 1 addition & 3 deletions bench/folly/optimized/Codel.cpp.ll
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,7 @@ entry:
%cmp.i.i = icmp sge i64 %retval.sroa.0.0.copyload.i, %retval.sroa.0.0.copyload.i17
%cmp.i.i18 = icmp slt i64 %retval.sroa.0.0.copyload.i, 1
%or.cond = or i1 %cmp.i.i18, %cmp.i.i
%cmp.i.i19 = icmp slt i64 %retval.sroa.0.0.copyload.i17, 1
%or.cond24 = or i1 %cmp.i.i19, %or.cond
br i1 %or.cond24, label %if.then, label %if.end
br i1 %or.cond, label %if.then, label %if.end

if.then: ; preds = %entry
%exception = tail call ptr @__cxa_allocate_exception(i64 16) #9
Expand Down
8 changes: 1 addition & 7 deletions bench/icu/optimized/decNumber.ll
Original file line number Diff line number Diff line change
Expand Up @@ -6976,14 +6976,8 @@ _ZL12decGetDigitsPhi.exit: ; preds = %for.body.i, %if.end
%exponent345 = getelementptr inbounds i8, ptr %spec.select, i64 4
%59 = load i32, ptr %exponent345, align 4
%add346 = add nsw i32 %59, %58
%cmp348 = icmp slt i32 %58, 0
%cmp351 = icmp slt i32 %59, 0
%cmp353 = icmp sgt i32 %add346, 0
%60 = select i1 %cmp348, i1 %cmp351, i1 false
%61 = select i1 %60, i1 %cmp353, i1 false
%exponent.0 = select i1 %61, i32 -1999999998, i32 %add346
%exponent356 = getelementptr inbounds i8, ptr %res, i64 4
store i32 %exponent.0, ptr %exponent356, align 4
store i32 %add346, ptr %exponent356, align 4
call fastcc void @_ZL11decSetCoeffP9decNumberP10decContextPKhiPiPj(ptr noundef nonnull %res, ptr noundef %set, ptr noundef %acc.0, i32 noundef %digits.0.lcssa.i, ptr noundef %residue, ptr noundef %status)
call fastcc void @_ZL11decFinalizeP9decNumberP10decContextPiPj(ptr noundef nonnull %res, ptr noundef %set, ptr noundef %residue, ptr noundef %status)
br label %do.end
Expand Down
48 changes: 21 additions & 27 deletions bench/jq/optimized/decNumber.ll
Original file line number Diff line number Diff line change
Expand Up @@ -6140,7 +6140,7 @@ define internal fastcc noundef ptr @decMultiplyOp(ptr noundef returned %0, ptr n

22: ; preds = %20
%23 = tail call fastcc ptr @decNaNs(ptr noundef %0, ptr noundef nonnull %1, ptr noundef nonnull %2, ptr noundef %3, ptr noundef %4)
br label %289
br label %284

24: ; preds = %20
%25 = and i32 %13, 64
Expand Down Expand Up @@ -6185,7 +6185,7 @@ define internal fastcc noundef ptr @decMultiplyOp(ptr noundef returned %0, ptr n
%50 = load i32, ptr %4, align 4
%51 = or i32 %50, 128
store i32 %51, ptr %4, align 4
br label %289
br label %284

52: ; preds = %44, %40, %36
%53 = getelementptr inbounds i8, ptr %0, i64 8
Expand All @@ -6196,7 +6196,7 @@ define internal fastcc noundef ptr @decMultiplyOp(ptr noundef returned %0, ptr n
store i16 0, ptr %55, align 2
%56 = or disjoint i8 %17, 64
store i8 %56, ptr %53, align 4
br label %289
br label %284

57: ; preds = %5
%58 = load i32, ptr %1, align 4
Expand Down Expand Up @@ -6264,7 +6264,7 @@ define internal fastcc noundef ptr @decMultiplyOp(ptr noundef returned %0, ptr n
%93 = load i32, ptr %4, align 4
%94 = or i32 %93, 16
store i32 %94, ptr %4, align 4
br label %283
br label %278

95: ; preds = %88
%96 = icmp sgt i32 %62, 0
Expand Down Expand Up @@ -6533,7 +6533,7 @@ define internal fastcc noundef ptr @decMultiplyOp(ptr noundef returned %0, ptr n
%220 = load i32, ptr %4, align 4
%221 = or i32 %220, 16
store i32 %221, ptr %4, align 4
br label %289
br label %284

222: ; preds = %215, %207
%.3247 = phi ptr [ null, %207 ], [ %218, %215 ]
Expand Down Expand Up @@ -6667,46 +6667,40 @@ decGetDigits.exit: ; preds = %263, %265, %.loopex
%274 = getelementptr inbounds i8, ptr %spec.select, i64 4
%275 = load i32, ptr %274, align 4
%276 = add nsw i32 %275, %273
%277 = icmp slt i32 %273, 0
%278 = icmp slt i32 %275, 0
%279 = icmp sgt i32 %276, 0
%280 = select i1 %277, i1 %278, i1 false
%281 = select i1 %280, i1 %279, i1 false
%.0241 = select i1 %281, i32 -1999999998, i32 %276
%282 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %.0241, ptr %282, align 4
%277 = getelementptr inbounds i8, ptr %0, i64 4
store i32 %276, ptr %277, align 4
call fastcc void @decSetCoeff(ptr noundef nonnull %0, ptr noundef %3, ptr noundef %.0242407, i32 noundef %.1.i, ptr noundef %6, ptr noundef %4)
call fastcc void @decFinalize(ptr noundef nonnull %0, ptr noundef %3, ptr noundef %6, ptr noundef %4)
br label %283
br label %278

283: ; preds = %decGetDigits.exit, %92
278: ; preds = %decGetDigits.exit, %92
%.1259 = phi ptr [ %.0258, %92 ], [ %.2260401, %decGetDigits.exit ]
%.1255 = phi ptr [ %.0254, %92 ], [ %.2256403, %decGetDigits.exit ]
%.1245 = phi ptr [ %.0244, %92 ], [ %.2246405, %decGetDigits.exit ]
%.not292 = icmp eq ptr %.1245, null
br i1 %.not292, label %285, label %284
br i1 %.not292, label %280, label %279

284: ; preds = %283
279: ; preds = %278
call void @free(ptr noundef nonnull %.1245) #18
br label %285
br label %280

285: ; preds = %284, %283
280: ; preds = %279, %278
%.not293 = icmp eq ptr %.1255, null
br i1 %.not293, label %287, label %286
br i1 %.not293, label %282, label %281

286: ; preds = %285
281: ; preds = %280
call void @free(ptr noundef nonnull %.1255) #18
br label %287
br label %282

287: ; preds = %286, %285
282: ; preds = %281, %280
%.not294 = icmp eq ptr %.1259, null
br i1 %.not294, label %289, label %288
br i1 %.not294, label %284, label %283

288: ; preds = %287
283: ; preds = %282
call void @free(ptr noundef nonnull %.1259) #18
br label %289
br label %284

289: ; preds = %.thread313, %287, %288, %52, %49, %22
284: ; preds = %.thread313, %282, %283, %52, %49, %22
ret ptr %0
}

Expand Down
3 changes: 1 addition & 2 deletions bench/llvm/optimized/AArch64ISelLowering.cpp.ll
Original file line number Diff line number Diff line change
Expand Up @@ -167367,8 +167367,7 @@ define internal fastcc noundef zeroext i1 @_ZL20isEquivalentMasklessjjN4llvm3ISD
%29 = icmp slt i32 %.084, 1
%.not88 = icmp sle i32 %4, %.084
%30 = and i1 %29, %.not88
%or.cond90.not = and i1 %27, %30
br i1 %or.cond90.not, label %66, label %65
br i1 %30, label %66, label %65

31: ; preds = %5, %5
%32 = icmp sgt i32 %.084, -1
Expand Down
5 changes: 1 addition & 4 deletions bench/memcached/optimized/memcached-proto_bin.ll
Original file line number Diff line number Diff line change
Expand Up @@ -950,10 +950,7 @@ sw.bb97.i: ; preds = %sw.bb97.sink.split.
%cmp99.i = icmp ne i8 %26, 8
%cmp103.i = icmp eq i16 %20, 0
%or.cond5.not141.i = or i1 %cmp103.i, %cmp99.i
%add107.i = add nuw nsw i32 %conv62, 8
%cmp108.not.i = icmp ult i32 %27, %add107.i
%or.cond114.i = select i1 %or.cond5.not141.i, i1 true, i1 %cmp108.not.i
br i1 %or.cond114.i, label %if.then232.i, label %if.then110.i
br i1 %or.cond5.not141.i, label %if.then232.i, label %if.then110.i

if.then110.i: ; preds = %sw.bb97.i
call fastcc void @process_bin_update(ptr noundef nonnull %c, ptr noundef nonnull %extbuf)
Expand Down
126 changes: 62 additions & 64 deletions bench/ruby/optimized/io.ll
Original file line number Diff line number Diff line change
Expand Up @@ -25151,7 +25151,7 @@ io_flush_buffer_sync.exit: ; preds = %45, %43, %42, %.thr

.thread84.thread: ; preds = %68
%69 = call i32 @fclose(ptr noundef nonnull %9)
br label %112
br label %111

maygvl_fclose.exit: ; preds = %68
%70 = call ptr @rb_thread_call_without_gvl(ptr noundef nonnull @nogvl_fclose, ptr noundef nonnull %9, ptr noundef nonnull inttoptr (i64 -1 to ptr), ptr noundef null) #24
Expand All @@ -25163,88 +25163,86 @@ maygvl_fclose.exit: ; preds = %68
br i1 %or.cond92, label %.thread84.sink.split, label %.thread84

75: ; preds = %66
%76 = icmp sgt i32 %7, -1
%or.cond7 = select i1 %or.cond3.not, i1 %76, i1 false
br i1 %or.cond7, label %77, label %.thread84
br i1 %or.cond3.not, label %76, label %.thread84

77: ; preds = %75
%78 = lshr i32 %11, 1
%.lobit = and i32 %78, 1
%79 = xor i32 %.lobit, 1
%80 = or i32 %79, %1
76: ; preds = %75
%77 = lshr i32 %11, 1
%.lobit = and i32 %77, 1
%78 = xor i32 %.lobit, 1
%79 = or i32 %78, %1
call void @llvm.lifetime.start.p0(i64 4, ptr nonnull %4)
store i32 %7, ptr %4, align 4
%.not.i73 = icmp eq i32 %80, 0
br i1 %.not.i73, label %83, label %81
%.not.i73 = icmp eq i32 %79, 0
br i1 %.not.i73, label %82, label %80

81: ; preds = %77
%82 = call i32 @close(i32 noundef %7) #24
80: ; preds = %76
%81 = call i32 @close(i32 noundef %7) #24
br label %maygvl_close.exit

83: ; preds = %77
%84 = call ptr @rb_thread_call_without_gvl(ptr noundef nonnull @nogvl_close, ptr noundef nonnull %4, ptr noundef nonnull inttoptr (i64 -1 to ptr), ptr noundef null) #24
%85 = ptrtoint ptr %84 to i64
%86 = trunc i64 %85 to i32
82: ; preds = %76
%83 = call ptr @rb_thread_call_without_gvl(ptr noundef nonnull @nogvl_close, ptr noundef nonnull %4, ptr noundef nonnull inttoptr (i64 -1 to ptr), ptr noundef null) #24
%84 = ptrtoint ptr %83 to i64
%85 = trunc i64 %84 to i32
br label %maygvl_close.exit

maygvl_close.exit: ; preds = %81, %83
%.0.i74 = phi i32 [ %82, %81 ], [ %86, %83 ]
maygvl_close.exit: ; preds = %80, %82
%.0.i74 = phi i32 [ %81, %80 ], [ %85, %82 ]
call void @llvm.lifetime.end.p0(i64 4, ptr nonnull %4)
%87 = icmp slt i32 %.0.i74, 0
br i1 %87, label %88, label %.thread84
%86 = icmp slt i32 %.0.i74, 0
br i1 %86, label %87, label %.thread84

88: ; preds = %maygvl_close.exit
%89 = icmp eq i64 %.159, 4
%90 = icmp eq i32 %1, 0
%or.cond14.not = and i1 %90, %89
87: ; preds = %maygvl_close.exit
%88 = icmp eq i64 %.159, 4
%89 = icmp eq i32 %1, 0
%or.cond14.not = and i1 %89, %88
br i1 %or.cond14.not, label %.thread84.sink.split, label %.thread84

.thread84.sink.split: ; preds = %88, %maygvl_fclose.exit
%91 = call ptr @rb_errno_ptr() #24
%92 = load i32, ptr %91, align 4
%93 = sext i32 %92 to i64
%94 = shl nsw i64 %93, 1
%95 = or disjoint i64 %94, 1
.thread84.sink.split: ; preds = %87, %maygvl_fclose.exit
%90 = call ptr @rb_errno_ptr() #24
%91 = load i32, ptr %90, align 4
%92 = sext i32 %91 to i64
%93 = shl nsw i64 %92, 1
%94 = or disjoint i64 %93, 1
br label %.thread84

.thread84: ; preds = %.thread84.sink.split, %maygvl_fclose.exit, %maygvl_close.exit, %88, %75
%.4 = phi i64 [ %.159, %75 ], [ %.159, %88 ], [ %.159, %maygvl_close.exit ], [ %.159, %maygvl_fclose.exit ], [ %95, %.thread84.sink.split ]
%96 = icmp eq i64 %.4, 4
%97 = icmp ne i32 %1, 0
%or.cond9 = or i1 %97, %96
br i1 %or.cond9, label %112, label %98

98: ; preds = %.thread84
%99 = and i64 %.4, 1
%.not.i75 = icmp eq i64 %99, 0
br i1 %.not.i75, label %100, label %rb_integer_type_p.exit.thread

100: ; preds = %98
%101 = and i64 %.4, 6
%102 = icmp ne i64 %101, 0
%103 = icmp eq i64 %.4, 0
%104 = or i1 %103, %102
br i1 %104, label %rb_integer_type_p.exit.thread89, label %rb_integer_type_p.exit

rb_integer_type_p.exit: ; preds = %100
%105 = inttoptr i64 %.4 to ptr
%106 = load i64, ptr %105, align 8
%107 = and i64 %106, 31
%108 = icmp eq i64 %107, 10
br i1 %108, label %rb_integer_type_p.exit.thread, label %rb_integer_type_p.exit.thread89

rb_integer_type_p.exit.thread: ; preds = %98, %rb_integer_type_p.exit
%109 = call fastcc i32 @rb_num2int_inline(i64 noundef %.4)
%110 = getelementptr inbounds i8, ptr %0, i64 32
%111 = load i64, ptr %110, align 8
call void @rb_syserr_fail_path_in(ptr noundef nonnull @__func__.fptr_finalize_flush, i32 noundef %109, i64 noundef %111) #26
.thread84: ; preds = %.thread84.sink.split, %maygvl_fclose.exit, %maygvl_close.exit, %87, %75
%.4 = phi i64 [ %.159, %75 ], [ %.159, %87 ], [ %.159, %maygvl_close.exit ], [ %.159, %maygvl_fclose.exit ], [ %94, %.thread84.sink.split ]
%95 = icmp eq i64 %.4, 4
%96 = icmp ne i32 %1, 0
%or.cond9 = or i1 %96, %95
br i1 %or.cond9, label %111, label %97

97: ; preds = %.thread84
%98 = and i64 %.4, 1
%.not.i75 = icmp eq i64 %98, 0
br i1 %.not.i75, label %99, label %rb_integer_type_p.exit.thread

99: ; preds = %97
%100 = and i64 %.4, 6
%101 = icmp ne i64 %100, 0
%102 = icmp eq i64 %.4, 0
%103 = or i1 %102, %101
br i1 %103, label %rb_integer_type_p.exit.thread89, label %rb_integer_type_p.exit

rb_integer_type_p.exit: ; preds = %99
%104 = inttoptr i64 %.4 to ptr
%105 = load i64, ptr %104, align 8
%106 = and i64 %105, 31
%107 = icmp eq i64 %106, 10
br i1 %107, label %rb_integer_type_p.exit.thread, label %rb_integer_type_p.exit.thread89

rb_integer_type_p.exit.thread: ; preds = %97, %rb_integer_type_p.exit
%108 = call fastcc i32 @rb_num2int_inline(i64 noundef %.4)
%109 = getelementptr inbounds i8, ptr %0, i64 32
%110 = load i64, ptr %109, align 8
call void @rb_syserr_fail_path_in(ptr noundef nonnull @__func__.fptr_finalize_flush, i32 noundef %108, i64 noundef %110) #26
unreachable

rb_integer_type_p.exit.thread89: ; preds = %100, %rb_integer_type_p.exit
rb_integer_type_p.exit.thread89: ; preds = %99, %rb_integer_type_p.exit
call void @rb_exc_raise(i64 noundef %.4) #26
unreachable

112: ; preds = %.thread84.thread, %.thread84
111: ; preds = %.thread84.thread, %.thread84
ret void
}

Expand Down
6 changes: 3 additions & 3 deletions bench/wireshark/optimized/packet-afs.c.ll
Original file line number Diff line number Diff line change
Expand Up @@ -1656,7 +1656,7 @@ define internal i32 @dissect_afs(ptr noundef %0, ptr noundef %1, ptr noundef %2,
br label %138

138: ; preds = %120, %128, %134
%or.cond246273 = phi i1 [ true, %120 ], [ true, %128 ], [ false, %134 ]
%brmerge271 = phi i1 [ true, %120 ], [ true, %128 ], [ false, %134 ]
%.1269 = phi ptr [ %.1270285, %120 ], [ %.0220, %128 ], [ %.0220, %134 ]
%.1229267 = phi i32 [ %.1229266287, %120 ], [ %.0228, %128 ], [ %.0228, %134 ]
%.1231264 = phi i32 [ %.1231265288, %120 ], [ %.0230, %128 ], [ %.0230, %134 ]
Expand Down Expand Up @@ -1721,7 +1721,7 @@ define internal i32 @dissect_afs(ptr noundef %0, ptr noundef %1, ptr noundef %2,

173: ; preds = %170
%174 = load i32, ptr @hf_afs_service, align 4
%175 = or i1 %or.cond7, %or.cond246273
%175 = or i1 %or.cond7, %brmerge271
%176 = select i1 %175, ptr @.str.896, ptr @.str.906
%177 = load i32, ptr @hf_afs_ubik, align 4
%178 = icmp eq i32 %.1229267, %177
Expand Down Expand Up @@ -1767,7 +1767,7 @@ define internal i32 @dissect_afs(ptr noundef %0, ptr noundef %1, ptr noundef %2,
br label %.thread290

.thread290: ; preds = %184, %187, %194, %191, %190
br i1 %or.cond246273, label %203, label %.sink.split
br i1 %brmerge271, label %203, label %.sink.split

203: ; preds = %.thread290
store ptr null, ptr %6, align 8
Expand Down
Loading