diff --git a/bench/arrow/optimized/UriQuery.c.ll b/bench/arrow/optimized/UriQuery.c.ll index 10703eae3c6..a59ee8b06be 100644 --- a/bench/arrow/optimized/UriQuery.c.ll +++ b/bench/arrow/optimized/UriQuery.c.ll @@ -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 @@ -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 diff --git a/bench/clamav/optimized/spin.c.ll b/bench/clamav/optimized/spin.c.ll index a41539cf56d..fc44e5e9747 100644 --- a/bench/clamav/optimized/spin.c.ll +++ b/bench/clamav/optimized/spin.c.ll @@ -745,45 +745,45 @@ define range(i32 0, 3) i32 @unspin(ptr noundef %0, i32 noundef %1, ptr nocapture %312 = getelementptr inbounds i8, ptr %.fr764, i64 12270 %313 = load i32, ptr %312, align 1 %.not635 = icmp eq i32 %313, 0 - br i1 %.not635, label %402, label %.lr.ph749.preheader + br i1 %.not635, label %401, label %.lr.ph749.preheader .thread: ; preds = %.preheader690 tail call void (ptr, ...) @cli_dbgmsg(ptr noundef nonnull @.str.26) #7 %314 = getelementptr inbounds i8, ptr %.fr764, i64 12270 %315 = load i32, ptr %314, align 1 %.not635820 = icmp eq i32 %315, 0 - br i1 %.not635820, label %402, label %._crit_edge750 + br i1 %.not635820, label %401, label %._crit_edge750 .lr.ph749.preheader: ; preds = %311 %wide.trip.count798 = zext nneg i32 %3 to i64 br label %.lr.ph749 -.lr.ph749: ; preds = %.lr.ph749.preheader, %339 - %indvars.iv795 = phi i64 [ 0, %.lr.ph749.preheader ], [ %indvars.iv.next796, %339 ] +.lr.ph749: ; preds = %.lr.ph749.preheader, %338 + %indvars.iv795 = phi i64 [ 0, %.lr.ph749.preheader ], [ %indvars.iv.next796, %338 ] %316 = getelementptr inbounds %struct.cli_exe_section, ptr %2, i64 %indvars.iv795 %317 = load i32, ptr %316, align 4 %.not636 = icmp ugt i32 %317, %313 - br i1 %.not636, label %339, label %318 + br i1 %.not636, label %338, label %318 318: ; preds = %.lr.ph749 %319 = sub nuw i32 %313, %317 %320 = getelementptr inbounds i8, ptr %316, i64 4 %321 = load i32, ptr %320, align 4 %322 = icmp ult i32 %319, %321 - br i1 %322, label %323, label %339 + br i1 %322, label %323, label %338 323: ; preds = %318 %324 = getelementptr inbounds i8, ptr %316, i64 12 %325 = load i32, ptr %324, align 4 %326 = zext i32 %325 to i64 %.not637 = icmp eq i32 %325, 0 - br i1 %.not637, label %339, label %327 + br i1 %.not637, label %338, label %327 327: ; preds = %323 %.not638 = icmp eq i32 %313, %317 %.not639 = icmp ugt i32 %319, %325 %or.cond683 = or i1 %.not638, %.not639 - br i1 %or.cond683, label %339, label %328 + br i1 %or.cond683, label %338, label %328 328: ; preds = %327 %329 = zext i32 %319 to i64 @@ -797,237 +797,235 @@ define range(i32 0, 3) i32 @unspin(ptr noundef %0, i32 noundef %1, ptr nocapture %.not640 = icmp ule i64 %335, %336 %337 = icmp ugt i64 %335, %334 %or.cond684 = and i1 %.not640, %337 - %338 = icmp ugt i64 %336, %334 - %or.cond685 = and i1 %338, %or.cond684 - br i1 %or.cond685, label %._crit_edge750.loopexit, label %339 + br i1 %or.cond684, label %._crit_edge750.loopexit, label %338 -339: ; preds = %.lr.ph749, %318, %323, %327, %328 +338: ; preds = %.lr.ph749, %318, %323, %327, %328 %indvars.iv.next796 = add nuw nsw i64 %indvars.iv795, 1 %exitcond799.not = icmp eq i64 %indvars.iv.next796, %wide.trip.count798 br i1 %exitcond799.not, label %._crit_edge750.thread, label %.lr.ph749 ._crit_edge750.loopexit: ; preds = %328 - %340 = trunc nuw nsw i64 %indvars.iv795 to i32 + %339 = trunc nuw nsw i64 %indvars.iv795 to i32 br label %._crit_edge750 ._crit_edge750: ; preds = %._crit_edge750.loopexit, %.thread %.0551704813821823 = phi i32 [ 0, %.thread ], [ %.1552, %._crit_edge750.loopexit ] - %341 = phi i32 [ %315, %.thread ], [ %313, %._crit_edge750.loopexit ] - %.4548.lcssa = phi i32 [ 0, %.thread ], [ %340, %._crit_edge750.loopexit ] + %340 = phi i32 [ %315, %.thread ], [ %313, %._crit_edge750.loopexit ] + %.4548.lcssa = phi i32 [ 0, %.thread ], [ %339, %._crit_edge750.loopexit ] %.not641 = icmp eq i32 %.4548.lcssa, %3 - br i1 %.not641, label %._crit_edge750.thread, label %342 - -342: ; preds = %._crit_edge750 - %343 = shl nuw i32 1, %.4548.lcssa - %344 = and i32 %343, %242 - %345 = icmp eq i32 %344, 0 - br i1 %345, label %346, label %._crit_edge750.thread - -346: ; preds = %342 - %347 = zext nneg i32 %.4548.lcssa to i64 - %348 = getelementptr inbounds %struct.cli_exe_section, ptr %2, i64 %347 - %349 = load i32, ptr %348, align 4 - %350 = sub i32 %341, %349 - %351 = getelementptr inbounds i8, ptr %348, i64 4 - %352 = load i32, ptr %351, align 4 - %353 = sub i32 %352, %350 - tail call void (ptr, ...) @cli_dbgmsg(ptr noundef nonnull @.str.27, i32 noundef %.4548.lcssa, i32 noundef %349, i32 noundef %350, i32 noundef %341, i32 noundef %353) #7 - %354 = load i32, ptr %351, align 4 - %355 = zext i32 %354 to i64 - %356 = tail call ptr @cli_max_malloc(i64 noundef %355) #7 - %.not642 = icmp eq ptr %356, null - br i1 %.not642, label %398, label %357 - -357: ; preds = %346 - %358 = getelementptr inbounds i8, ptr %348, i64 8 - %359 = load i32, ptr %358, align 4 - %360 = zext i32 %359 to i64 - %361 = getelementptr inbounds i8, ptr %0, i64 %360 - %362 = load i32, ptr %348, align 4 - %363 = sub i32 %341, %362 - %364 = zext i32 %363 to i64 - tail call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 1 %356, ptr align 1 %361, i64 %364, i1 false) - %365 = zext i32 %341 to i64 - %366 = getelementptr inbounds i8, ptr %356, i64 %365 - %367 = load i32, ptr %348, align 4 - %368 = zext i32 %367 to i64 - %369 = sub nsw i64 0, %368 - %370 = getelementptr inbounds i8, ptr %366, i64 %369 - %371 = load i32, ptr %351, align 4 - %.neg = sub i32 %367, %341 - %372 = add i32 %.neg, %371 - %373 = zext i32 %372 to i64 - tail call void @llvm.memset.p0.i64(ptr nonnull align 1 %370, i8 0, i64 %373, i1 false) - %374 = load i32, ptr %358, align 4 - %375 = zext i32 %374 to i64 - %376 = getelementptr inbounds i8, ptr %0, i64 %375 - %377 = getelementptr inbounds i8, ptr %376, i64 %365 - %378 = load i32, ptr %348, align 4 - %379 = zext i32 %378 to i64 - %380 = sub nsw i64 0, %379 - %381 = getelementptr inbounds i8, ptr %377, i64 %380 - %382 = getelementptr inbounds i8, ptr %366, i64 %380 - %383 = getelementptr inbounds i8, ptr %348, i64 12 - %384 = load i32, ptr %383, align 4 - %385 = sub i32 %341, %378 - %386 = sub i32 %384, %385 - %387 = load i32, ptr %351, align 4 - %388 = sub i32 %387, %385 - %389 = tail call i32 @cli_unfsg(ptr noundef nonnull %381, ptr noundef nonnull %382, i32 noundef %386, i32 noundef %388, ptr noundef null, ptr noundef null) #7 - %.not643 = icmp eq i32 %389, 0 - br i1 %.not643, label %393, label %390 - -390: ; preds = %357 - tail call void @free(ptr noundef nonnull %356) #7 + br i1 %.not641, label %._crit_edge750.thread, label %341 + +341: ; preds = %._crit_edge750 + %342 = shl nuw i32 1, %.4548.lcssa + %343 = and i32 %342, %242 + %344 = icmp eq i32 %343, 0 + br i1 %344, label %345, label %._crit_edge750.thread + +345: ; preds = %341 + %346 = zext nneg i32 %.4548.lcssa to i64 + %347 = getelementptr inbounds %struct.cli_exe_section, ptr %2, i64 %346 + %348 = load i32, ptr %347, align 4 + %349 = sub i32 %340, %348 + %350 = getelementptr inbounds i8, ptr %347, i64 4 + %351 = load i32, ptr %350, align 4 + %352 = sub i32 %351, %349 + tail call void (ptr, ...) @cli_dbgmsg(ptr noundef nonnull @.str.27, i32 noundef %.4548.lcssa, i32 noundef %348, i32 noundef %349, i32 noundef %340, i32 noundef %352) #7 + %353 = load i32, ptr %350, align 4 + %354 = zext i32 %353 to i64 + %355 = tail call ptr @cli_max_malloc(i64 noundef %354) #7 + %.not642 = icmp eq ptr %355, null + br i1 %.not642, label %397, label %356 + +356: ; preds = %345 + %357 = getelementptr inbounds i8, ptr %347, i64 8 + %358 = load i32, ptr %357, align 4 + %359 = zext i32 %358 to i64 + %360 = getelementptr inbounds i8, ptr %0, i64 %359 + %361 = load i32, ptr %347, align 4 + %362 = sub i32 %340, %361 + %363 = zext i32 %362 to i64 + tail call void @llvm.memcpy.p0.p0.i64(ptr nonnull align 1 %355, ptr align 1 %360, i64 %363, i1 false) + %364 = zext i32 %340 to i64 + %365 = getelementptr inbounds i8, ptr %355, i64 %364 + %366 = load i32, ptr %347, align 4 + %367 = zext i32 %366 to i64 + %368 = sub nsw i64 0, %367 + %369 = getelementptr inbounds i8, ptr %365, i64 %368 + %370 = load i32, ptr %350, align 4 + %.neg = sub i32 %366, %340 + %371 = add i32 %.neg, %370 + %372 = zext i32 %371 to i64 + tail call void @llvm.memset.p0.i64(ptr nonnull align 1 %369, i8 0, i64 %372, i1 false) + %373 = load i32, ptr %357, align 4 + %374 = zext i32 %373 to i64 + %375 = getelementptr inbounds i8, ptr %0, i64 %374 + %376 = getelementptr inbounds i8, ptr %375, i64 %364 + %377 = load i32, ptr %347, align 4 + %378 = zext i32 %377 to i64 + %379 = sub nsw i64 0, %378 + %380 = getelementptr inbounds i8, ptr %376, i64 %379 + %381 = getelementptr inbounds i8, ptr %365, i64 %379 + %382 = getelementptr inbounds i8, ptr %347, i64 12 + %383 = load i32, ptr %382, align 4 + %384 = sub i32 %340, %377 + %385 = sub i32 %383, %384 + %386 = load i32, ptr %350, align 4 + %387 = sub i32 %386, %384 + %388 = tail call i32 @cli_unfsg(ptr noundef nonnull %380, ptr noundef nonnull %381, i32 noundef %385, i32 noundef %387, ptr noundef null, ptr noundef null) #7 + %.not643 = icmp eq i32 %388, 0 + br i1 %.not643, label %392, label %389 + +389: ; preds = %356 + tail call void @free(ptr noundef nonnull %355) #7 tail call void (ptr, ...) @cli_dbgmsg(ptr noundef nonnull @.str.28) #7 - %391 = load i32, ptr %383, align 4 - %392 = add i32 %391, %.0551704813821823 - br label %402 - -393: ; preds = %357 - %394 = getelementptr inbounds ptr, ptr %261, i64 %347 - store ptr %356, ptr %394, align 8 - %395 = or i32 %343, %242 + %390 = load i32, ptr %382, align 4 + %391 = add i32 %390, %.0551704813821823 + br label %401 + +392: ; preds = %356 + %393 = getelementptr inbounds ptr, ptr %261, i64 %346 + store ptr %355, ptr %393, align 8 + %394 = or i32 %342, %242 tail call void (ptr, ...) @cli_dbgmsg(ptr noundef nonnull @.str.29) #7 - %396 = load i32, ptr %351, align 4 - %397 = add i32 %396, %.0551704813821823 - br label %402 + %395 = load i32, ptr %350, align 4 + %396 = add i32 %395, %.0551704813821823 + br label %401 -398: ; preds = %346 +397: ; preds = %345 tail call void (ptr, ...) @cli_dbgmsg(ptr noundef nonnull @.str.30) #7 - %399 = getelementptr inbounds i8, ptr %348, i64 12 - %400 = load i32, ptr %399, align 4 - %401 = add i32 %400, %.0551704813821823 - br label %402 + %398 = getelementptr inbounds i8, ptr %347, i64 12 + %399 = load i32, ptr %398, align 4 + %400 = add i32 %399, %.0551704813821823 + br label %401 -._crit_edge750.thread: ; preds = %339, %342, %._crit_edge750 - %.0551704813821823827 = phi i32 [ %.0551704813821823, %342 ], [ %.0551704813821823, %._crit_edge750 ], [ %.1552, %339 ] +._crit_edge750.thread: ; preds = %338, %341, %._crit_edge750 + %.0551704813821823827 = phi i32 [ %.0551704813821823, %341 ], [ %.0551704813821823, %._crit_edge750 ], [ %.1552, %338 ] tail call void (ptr, ...) @cli_dbgmsg(ptr noundef nonnull @.str.31) #7 - br label %402 - -402: ; preds = %.thread, %._crit_edge750.thread, %390, %393, %398, %311 - %.2553 = phi i32 [ %392, %390 ], [ %397, %393 ], [ %401, %398 ], [ %.0551704813821823827, %._crit_edge750.thread ], [ %.1552, %311 ], [ 0, %.thread ] - %.1532 = phi i32 [ %242, %390 ], [ %395, %393 ], [ %242, %398 ], [ %242, %._crit_edge750.thread ], [ %242, %311 ], [ %242, %.thread ] - %403 = sext i32 %.2553 to i64 - %404 = tail call ptr @cli_max_malloc(i64 noundef %403) #7 - %.not644 = icmp eq ptr %404, null - br i1 %.not644, label %443, label %405 - -405: ; preds = %402 - %406 = mul nsw i64 %10, 36 - %407 = tail call ptr @cli_max_malloc(i64 noundef %406) #7 - %.not645 = icmp eq ptr %407, null - br i1 %.not645, label %442, label %.preheader - -.preheader: ; preds = %405 + br label %401 + +401: ; preds = %.thread, %._crit_edge750.thread, %389, %392, %397, %311 + %.2553 = phi i32 [ %391, %389 ], [ %396, %392 ], [ %400, %397 ], [ %.0551704813821823827, %._crit_edge750.thread ], [ %.1552, %311 ], [ 0, %.thread ] + %.1532 = phi i32 [ %242, %389 ], [ %394, %392 ], [ %242, %397 ], [ %242, %._crit_edge750.thread ], [ %242, %311 ], [ %242, %.thread ] + %402 = sext i32 %.2553 to i64 + %403 = tail call ptr @cli_max_malloc(i64 noundef %402) #7 + %.not644 = icmp eq ptr %403, null + br i1 %.not644, label %442, label %404 + +404: ; preds = %401 + %405 = mul nsw i64 %10, 36 + %406 = tail call ptr @cli_max_malloc(i64 noundef %405) #7 + %.not645 = icmp eq ptr %406, null + br i1 %.not645, label %441, label %.preheader + +.preheader: ; preds = %404 br i1 %140, label %.lr.ph757.preheader, label %._crit_edge758 .lr.ph757.preheader: ; preds = %.preheader %wide.trip.count803 = zext nneg i32 %3 to i64 br label %.lr.ph757 -.lr.ph757: ; preds = %.lr.ph757.preheader, %437 - %indvars.iv800 = phi i64 [ 0, %.lr.ph757.preheader ], [ %indvars.iv.next801, %437 ] - %.0519756 = phi ptr [ %404, %.lr.ph757.preheader ], [ %434, %437 ] - %.5539755 = phi i32 [ %.1532, %.lr.ph757.preheader ], [ %438, %437 ] +.lr.ph757: ; preds = %.lr.ph757.preheader, %436 + %indvars.iv800 = phi i64 [ 0, %.lr.ph757.preheader ], [ %indvars.iv.next801, %436 ] + %.0519756 = phi ptr [ %403, %.lr.ph757.preheader ], [ %433, %436 ] + %.5539755 = phi i32 [ %.1532, %.lr.ph757.preheader ], [ %437, %436 ] %.not648 = icmp eq i64 %indvars.iv800, 0 - br i1 %.not648, label %415, label %408 - -408: ; preds = %.lr.ph757 - %409 = getelementptr %struct.cli_exe_section, ptr %407, i64 %indvars.iv800 - %410 = getelementptr i8, ptr %409, i64 -28 - %411 = load i32, ptr %410, align 4 - %412 = getelementptr i8, ptr %409, i64 -24 - %413 = load i32, ptr %412, align 4 - %414 = add i32 %413, %411 - br label %415 - -415: ; preds = %.lr.ph757, %408 - %416 = phi i32 [ %414, %408 ], [ 0, %.lr.ph757 ] - %417 = getelementptr inbounds %struct.cli_exe_section, ptr %407, i64 %indvars.iv800 - %418 = getelementptr inbounds i8, ptr %417, i64 8 - store i32 %416, ptr %418, align 4 - %419 = and i32 %.5539755, 1 - %.not649 = icmp eq i32 %419, 0 - %420 = getelementptr inbounds %struct.cli_exe_section, ptr %2, i64 %indvars.iv800, i32 1 - %421 = getelementptr inbounds %struct.cli_exe_section, ptr %2, i64 %indvars.iv800, i32 3 - %.in = select i1 %.not649, ptr %421, ptr %420 - %422 = load i32, ptr %.in, align 4 - %423 = getelementptr inbounds i8, ptr %417, i64 12 - store i32 %422, ptr %423, align 4 - %424 = getelementptr inbounds %struct.cli_exe_section, ptr %2, i64 %indvars.iv800 - %425 = load i32, ptr %424, align 4 - store i32 %425, ptr %417, align 4 - %426 = getelementptr inbounds i8, ptr %424, i64 4 - %427 = load i32, ptr %426, align 4 - %428 = getelementptr inbounds i8, ptr %417, i64 4 - store i32 %427, ptr %428, align 4 - %429 = getelementptr inbounds ptr, ptr %261, i64 %indvars.iv800 - %430 = load ptr, ptr %429, align 8 - %431 = zext i32 %422 to i64 - tail call void @llvm.memcpy.p0.p0.i64(ptr align 1 %.0519756, ptr align 1 %430, i64 %431, i1 false) - %432 = load i32, ptr %423, align 4 - %433 = zext i32 %432 to i64 - %434 = getelementptr inbounds i8, ptr %.0519756, i64 %433 - br i1 %.not649, label %437, label %435 - -435: ; preds = %415 - %436 = load ptr, ptr %429, align 8 - tail call void @free(ptr noundef %436) #7 - br label %437 - -437: ; preds = %435, %415 - %438 = lshr i32 %.5539755, 1 + br i1 %.not648, label %414, label %407 + +407: ; preds = %.lr.ph757 + %408 = getelementptr %struct.cli_exe_section, ptr %406, i64 %indvars.iv800 + %409 = getelementptr i8, ptr %408, i64 -28 + %410 = load i32, ptr %409, align 4 + %411 = getelementptr i8, ptr %408, i64 -24 + %412 = load i32, ptr %411, align 4 + %413 = add i32 %412, %410 + br label %414 + +414: ; preds = %.lr.ph757, %407 + %415 = phi i32 [ %413, %407 ], [ 0, %.lr.ph757 ] + %416 = getelementptr inbounds %struct.cli_exe_section, ptr %406, i64 %indvars.iv800 + %417 = getelementptr inbounds i8, ptr %416, i64 8 + store i32 %415, ptr %417, align 4 + %418 = and i32 %.5539755, 1 + %.not649 = icmp eq i32 %418, 0 + %419 = getelementptr inbounds %struct.cli_exe_section, ptr %2, i64 %indvars.iv800, i32 1 + %420 = getelementptr inbounds %struct.cli_exe_section, ptr %2, i64 %indvars.iv800, i32 3 + %.in = select i1 %.not649, ptr %420, ptr %419 + %421 = load i32, ptr %.in, align 4 + %422 = getelementptr inbounds i8, ptr %416, i64 12 + store i32 %421, ptr %422, align 4 + %423 = getelementptr inbounds %struct.cli_exe_section, ptr %2, i64 %indvars.iv800 + %424 = load i32, ptr %423, align 4 + store i32 %424, ptr %416, align 4 + %425 = getelementptr inbounds i8, ptr %423, i64 4 + %426 = load i32, ptr %425, align 4 + %427 = getelementptr inbounds i8, ptr %416, i64 4 + store i32 %426, ptr %427, align 4 + %428 = getelementptr inbounds ptr, ptr %261, i64 %indvars.iv800 + %429 = load ptr, ptr %428, align 8 + %430 = zext i32 %421 to i64 + tail call void @llvm.memcpy.p0.p0.i64(ptr align 1 %.0519756, ptr align 1 %429, i64 %430, i1 false) + %431 = load i32, ptr %422, align 4 + %432 = zext i32 %431 to i64 + %433 = getelementptr inbounds i8, ptr %.0519756, i64 %432 + br i1 %.not649, label %436, label %434 + +434: ; preds = %414 + %435 = load ptr, ptr %428, align 8 + tail call void @free(ptr noundef %435) #7 + br label %436 + +436: ; preds = %434, %414 + %437 = lshr i32 %.5539755, 1 %indvars.iv.next801 = add nuw nsw i64 %indvars.iv800, 1 %exitcond804.not = icmp eq i64 %indvars.iv.next801, %wide.trip.count803 br i1 %exitcond804.not, label %._crit_edge758, label %.lr.ph757 -._crit_edge758: ; preds = %437, %.preheader - %439 = tail call i32 @cli_rebuildpe(ptr noundef nonnull %404, ptr noundef nonnull %407, i32 noundef %3, i32 noundef 4194304, i32 noundef 4096, i32 noundef 0, i32 noundef 0, i32 noundef %5) #7 - %.not647 = icmp eq i32 %439, 0 - br i1 %.not647, label %440, label %441 +._crit_edge758: ; preds = %436, %.preheader + %438 = tail call i32 @cli_rebuildpe(ptr noundef nonnull %403, ptr noundef nonnull %406, i32 noundef %3, i32 noundef 4194304, i32 noundef 4096, i32 noundef 0, i32 noundef 0, i32 noundef %5) #7 + %.not647 = icmp eq i32 %438, 0 + br i1 %.not647, label %439, label %440 -440: ; preds = %._crit_edge758 +439: ; preds = %._crit_edge758 tail call void (ptr, ...) @cli_dbgmsg(ptr noundef nonnull @.str.32) #7 - br label %441 + br label %440 -441: ; preds = %440, %._crit_edge758 - %.0 = phi i32 [ 0, %._crit_edge758 ], [ 1, %440 ] - tail call void @free(ptr noundef nonnull %407) #7 - tail call void @free(ptr noundef %404) #7 +440: ; preds = %439, %._crit_edge758 + %.0 = phi i32 [ 0, %._crit_edge758 ], [ 1, %439 ] + tail call void @free(ptr noundef nonnull %406) #7 + tail call void @free(ptr noundef %403) #7 tail call void @free(ptr noundef %261) #7 br label %.loopexit693 -442: ; preds = %405 - tail call void @free(ptr noundef nonnull %404) #7 - br label %443 +441: ; preds = %404 + tail call void @free(ptr noundef nonnull %403) #7 + br label %442 -443: ; preds = %442, %402 +442: ; preds = %441, %401 tail call void (ptr, ...) @cli_dbgmsg(ptr noundef nonnull @.str.33, i32 noundef %.1532) #7 - %444 = and i32 %.1532, 1 - %.not646 = icmp ne i32 %444, 0 + %443 = and i32 %.1532, 1 + %.not646 = icmp ne i32 %443, 0 %or.cond834.not = select i1 %140, i1 %.not646, i1 false br i1 %or.cond834.not, label %.lr.ph761.split.preheader, label %._crit_edge762 -.lr.ph761.split.preheader: ; preds = %443 +.lr.ph761.split.preheader: ; preds = %442 %wide.trip.count808 = zext nneg i32 %3 to i64 br label %.lr.ph761.split .lr.ph761.split: ; preds = %.lr.ph761.split.preheader, %.lr.ph761.split %indvars.iv805 = phi i64 [ 0, %.lr.ph761.split.preheader ], [ %indvars.iv.next806, %.lr.ph761.split ] - %445 = getelementptr inbounds ptr, ptr %261, i64 %indvars.iv805 - %446 = load ptr, ptr %445, align 8 - tail call void @free(ptr noundef %446) #7 + %444 = getelementptr inbounds ptr, ptr %261, i64 %indvars.iv805 + %445 = load ptr, ptr %444, align 8 + tail call void @free(ptr noundef %445) #7 %indvars.iv.next806 = add nuw nsw i64 %indvars.iv805, 1 %exitcond809.not = icmp eq i64 %indvars.iv.next806, %wide.trip.count808 br i1 %exitcond809.not, label %._crit_edge762, label %.lr.ph761.split -._crit_edge762: ; preds = %.lr.ph761.split, %443 +._crit_edge762: ; preds = %.lr.ph761.split, %442 tail call void @free(ptr noundef %261) #7 br label %.loopexit693 -.loopexit693: ; preds = %248, %250, %._crit_edge762, %441, %._crit_edge747, %263, %236, %.split.us, %207, %202, %192, %180, %169, %156, %137, %108, %90, %86, %57, %43, %39, %33, %17 - %.0520 = phi i32 [ 1, %17 ], [ 1, %33 ], [ 1, %39 ], [ 1, %43 ], [ 1, %90 ], [ 1, %108 ], [ 1, %156 ], [ 1, %169 ], [ 1, %192 ], [ 1, %207 ], [ 1, %236 ], [ 1, %.split.us ], [ 1, %263 ], [ 1, %._crit_edge747 ], [ %.0, %441 ], [ 1, %._crit_edge762 ], [ 1, %202 ], [ 1, %180 ], [ 1, %137 ], [ 1, %86 ], [ 1, %57 ], [ 2, %250 ], [ 2, %248 ] +.loopexit693: ; preds = %248, %250, %._crit_edge762, %440, %._crit_edge747, %263, %236, %.split.us, %207, %202, %192, %180, %169, %156, %137, %108, %90, %86, %57, %43, %39, %33, %17 + %.0520 = phi i32 [ 1, %17 ], [ 1, %33 ], [ 1, %39 ], [ 1, %43 ], [ 1, %90 ], [ 1, %108 ], [ 1, %156 ], [ 1, %169 ], [ 1, %192 ], [ 1, %207 ], [ 1, %236 ], [ 1, %.split.us ], [ 1, %263 ], [ 1, %._crit_edge747 ], [ %.0, %440 ], [ 1, %._crit_edge762 ], [ 1, %202 ], [ 1, %180 ], [ 1, %137 ], [ 1, %86 ], [ 1, %57 ], [ 2, %250 ], [ 2, %248 ] ret i32 %.0520 } diff --git a/bench/folly/optimized/Codel.cpp.ll b/bench/folly/optimized/Codel.cpp.ll index ba8e896381f..e92ac4566a4 100644 --- a/bench/folly/optimized/Codel.cpp.ll +++ b/bench/folly/optimized/Codel.cpp.ll @@ -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 diff --git a/bench/icu/optimized/decNumber.ll b/bench/icu/optimized/decNumber.ll index cfed605a8ab..12aa61c80b5 100644 --- a/bench/icu/optimized/decNumber.ll +++ b/bench/icu/optimized/decNumber.ll @@ -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 diff --git a/bench/jq/optimized/decNumber.ll b/bench/jq/optimized/decNumber.ll index 2166c7ff69c..aa77ccbb8a2 100644 --- a/bench/jq/optimized/decNumber.ll +++ b/bench/jq/optimized/decNumber.ll @@ -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 @@ -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 @@ -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 @@ -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 @@ -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 ] @@ -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 } diff --git a/bench/llvm/optimized/AArch64ISelLowering.cpp.ll b/bench/llvm/optimized/AArch64ISelLowering.cpp.ll index 585e6bb6048..63626968d3b 100644 --- a/bench/llvm/optimized/AArch64ISelLowering.cpp.ll +++ b/bench/llvm/optimized/AArch64ISelLowering.cpp.ll @@ -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 diff --git a/bench/memcached/optimized/memcached-proto_bin.ll b/bench/memcached/optimized/memcached-proto_bin.ll index f605a3a53b8..00f5eed2f3e 100644 --- a/bench/memcached/optimized/memcached-proto_bin.ll +++ b/bench/memcached/optimized/memcached-proto_bin.ll @@ -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) diff --git a/bench/ruby/optimized/io.ll b/bench/ruby/optimized/io.ll index 618063826c2..0f264c669cc 100644 --- a/bench/ruby/optimized/io.ll +++ b/bench/ruby/optimized/io.ll @@ -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 @@ -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 } diff --git a/bench/wireshark/optimized/packet-afs.c.ll b/bench/wireshark/optimized/packet-afs.c.ll index 5a0cc883462..a348e7b66de 100644 --- a/bench/wireshark/optimized/packet-afs.c.ll +++ b/bench/wireshark/optimized/packet-afs.c.ll @@ -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 ] @@ -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 @@ -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 diff --git a/bench/zed-rs/optimized/exs06pxuzkdidwvzya8luo4wf.ll b/bench/zed-rs/optimized/exs06pxuzkdidwvzya8luo4wf.ll index 2f4c1c0d692..f1ee06b36be 100644 --- a/bench/zed-rs/optimized/exs06pxuzkdidwvzya8luo4wf.ll +++ b/bench/zed-rs/optimized/exs06pxuzkdidwvzya8luo4wf.ll @@ -62409,7 +62409,7 @@ define hidden void @_ZN8wasmtime7runtime9component4func7options7Options7realloc1 %24 = or i64 %4, %5 %25 = or i64 %24, %7 %or.cond87 = icmp ult i64 %25, 4294967296 - br i1 %or.cond87, label %26, label %104 + br i1 %or.cond87, label %26, label %103 26: ; preds = %23 tail call void @llvm.experimental.noalias.scope.decl(metadata !12180) @@ -62500,12 +62500,12 @@ define hidden void @_ZN8wasmtime7runtime9component4func7options7Options7realloc1 %70 = getelementptr inbounds i8, ptr %0, i64 8 store ptr %46, ptr %70, align 8 store ptr null, ptr %0, align 8 - br label %103 + br label %102 71: ; preds = %67 %72 = urem i32 %.sroa.039.0.copyload.i, %6 %73 = icmp eq i32 %72, 0 - br i1 %73, label %75, label %87 + br i1 %73, label %75, label %86 74: ; preds = %67 call void @_ZN4core9panicking11panic_const23panic_const_rem_by_zero17h1bfa65ef1309b877E(ptr noalias noundef nonnull readonly align 8 dereferenceable(24) @anon.e7043433c665689d16e2e33166735f21.177) #43 @@ -62524,63 +62524,62 @@ define hidden void @_ZN8wasmtime7runtime9component4func7options7Options7realloc1 %84 = select i1 %.not, i1 true, i1 %83 %.not85 = icmp ult i64 %82, %7 %85 = select i1 %84, i1 true, i1 %.not85 - %86 = select i1 %85, i1 true, i1 %83 - br i1 %86, label %94, label %101 + br i1 %85, label %93, label %100 -87: ; preds = %71 +86: ; preds = %71 call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %11) store ptr @anon.e7043433c665689d16e2e33166735f21.181, ptr %11, align 8 - %88 = getelementptr inbounds i8, ptr %11, i64 8 - store i64 1, ptr %88, align 8 - %89 = getelementptr inbounds i8, ptr %11, i64 32 - store ptr null, ptr %89, align 8 - %90 = getelementptr inbounds i8, ptr %11, i64 16 - store ptr inttoptr (i64 8 to ptr), ptr %90, align 8 - %91 = getelementptr inbounds i8, ptr %11, i64 24 - store i64 0, ptr %91, align 8 - %92 = call fastcc noundef nonnull ptr @_ZN6anyhow9__private10format_err17h72a43e378e179026E(ptr noalias nocapture noundef align 8 dereferenceable(48) %11) + %87 = getelementptr inbounds i8, ptr %11, i64 8 + store i64 1, ptr %87, align 8 + %88 = getelementptr inbounds i8, ptr %11, i64 32 + store ptr null, ptr %88, align 8 + %89 = getelementptr inbounds i8, ptr %11, i64 16 + store ptr inttoptr (i64 8 to ptr), ptr %89, align 8 + %90 = getelementptr inbounds i8, ptr %11, i64 24 + store i64 0, ptr %90, align 8 + %91 = call fastcc noundef nonnull ptr @_ZN6anyhow9__private10format_err17h72a43e378e179026E(ptr noalias nocapture noundef align 8 dereferenceable(48) %11) call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %11) - %93 = getelementptr inbounds i8, ptr %0, i64 8 - store ptr %92, ptr %93, align 8 + %92 = getelementptr inbounds i8, ptr %0, i64 8 + store ptr %91, ptr %92, align 8 store ptr null, ptr %0, align 8 - br label %103 + br label %102 -94: ; preds = %75 +93: ; preds = %75 call void @llvm.lifetime.start.p0(i64 48, ptr nonnull %10) store ptr @anon.e7043433c665689d16e2e33166735f21.179, ptr %10, align 8 - %95 = getelementptr inbounds i8, ptr %10, i64 8 - store i64 1, ptr %95, align 8 - %96 = getelementptr inbounds i8, ptr %10, i64 32 - store ptr null, ptr %96, align 8 - %97 = getelementptr inbounds i8, ptr %10, i64 16 - store ptr inttoptr (i64 8 to ptr), ptr %97, align 8 - %98 = getelementptr inbounds i8, ptr %10, i64 24 - store i64 0, ptr %98, align 8 - %99 = call fastcc noundef nonnull ptr @_ZN6anyhow9__private10format_err17h72a43e378e179026E(ptr noalias nocapture noundef align 8 dereferenceable(48) %10) + %94 = getelementptr inbounds i8, ptr %10, i64 8 + store i64 1, ptr %94, align 8 + %95 = getelementptr inbounds i8, ptr %10, i64 32 + store ptr null, ptr %95, align 8 + %96 = getelementptr inbounds i8, ptr %10, i64 16 + store ptr inttoptr (i64 8 to ptr), ptr %96, align 8 + %97 = getelementptr inbounds i8, ptr %10, i64 24 + store i64 0, ptr %97, align 8 + %98 = call fastcc noundef nonnull ptr @_ZN6anyhow9__private10format_err17h72a43e378e179026E(ptr noalias nocapture noundef align 8 dereferenceable(48) %10) call void @llvm.lifetime.end.p0(i64 48, ptr nonnull %10) - %100 = getelementptr inbounds i8, ptr %0, i64 8 - store ptr %99, ptr %100, align 8 + %99 = getelementptr inbounds i8, ptr %0, i64 8 + store ptr %98, ptr %99, align 8 store ptr null, ptr %0, align 8 - br label %103 + br label %102 -101: ; preds = %75 - %102 = getelementptr inbounds i8, ptr %80, i64 %76 - store ptr %102, ptr %0, align 8 +100: ; preds = %75 + %101 = getelementptr inbounds i8, ptr %80, i64 %76 + store ptr %101, ptr %0, align 8 %.sroa.440.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 8 store i64 %7, ptr %.sroa.440.0..sroa_idx, align 8 %.sroa.541.0..sroa_idx = getelementptr inbounds i8, ptr %0, i64 16 store i64 %76, ptr %.sroa.541.0..sroa_idx, align 8 - br label %103 + br label %102 -103: ; preds = %104, %101, %94, %87, %69 +102: ; preds = %103, %100, %93, %86, %69 ret void -104: ; preds = %23 - %105 = tail call noundef nonnull ptr @"_ZN6anyhow5error72_$LT$impl$u20$core..convert..From$LT$E$GT$$u20$for$u20$anyhow..Error$GT$4from17h372a2257a2033f8aE"() - %106 = getelementptr inbounds i8, ptr %0, i64 8 - store ptr %105, ptr %106, align 8 +103: ; preds = %23 + %104 = tail call noundef nonnull ptr @"_ZN6anyhow5error72_$LT$impl$u20$core..convert..From$LT$E$GT$$u20$for$u20$anyhow..Error$GT$4from17h372a2257a2033f8aE"() + %105 = getelementptr inbounds i8, ptr %0, i64 8 + store ptr %104, ptr %105, align 8 store ptr null, ptr %0, align 8 - br label %103 + br label %102 } ; Function Attrs: inlinehint mustprogress nofree norecurse nosync nounwind nonlazybind willreturn memory(argmem: readwrite) uwtable diff --git a/scripts/setup_pre_commit_patch.sh b/scripts/setup_pre_commit_patch.sh index 820278fb20a..52c2daded92 100755 --- a/scripts/setup_pre_commit_patch.sh +++ b/scripts/setup_pre_commit_patch.sh @@ -2,7 +2,7 @@ set -euo pipefail shopt -s inherit_errexit -export GITHUB_PATCH_ID="/llvm-project/commit/" +export GITHUB_PATCH_ID=llvm/llvm-project/pull/117123 # Please rebase manually # git fetch origin