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 22, 2024
1 parent 1f33cd4 commit fb64217
Show file tree
Hide file tree
Showing 121 changed files with 2,154 additions and 2,501 deletions.
10 changes: 4 additions & 6 deletions bench/abc/optimized/acbTest.c.ll
Original file line number Diff line number Diff line change
Expand Up @@ -2145,13 +2145,11 @@ Abc_Clock.exit13: ; preds = %Abc_Clock.exit, %28
%36 = sitofp i64 %35 to double
%37 = fdiv double %36, 1.000000e+06
call void (i32, ptr, ...) @Abc_Print(i32 poison, ptr noundef nonnull @.str.34, double noundef %37)
br i1 %22, label %39, label %38
%spec.select = select i1 %22, ptr %20, ptr null
br label %38

38: ; preds = %Abc_Clock.exit13, %1
br label %39

39: ; preds = %Abc_Clock.exit13, %38
%.0 = phi ptr [ null, %38 ], [ %20, %Abc_Clock.exit13 ]
38: ; preds = %1, %Abc_Clock.exit13
%.0 = phi ptr [ %spec.select, %Abc_Clock.exit13 ], [ null, %1 ]
ret ptr %.0
}

Expand Down
9 changes: 3 additions & 6 deletions bench/abseil-cpp/optimized/log_entry_test.cc.ll
Original file line number Diff line number Diff line change
Expand Up @@ -8644,18 +8644,15 @@ entry:

land.rhs.i.i.i: ; preds = %entry
%cmp.i2.i.i.i.i = icmp eq i64 %agg.tmp.sroa.0.0.copyload.i.i, 0
br i1 %cmp.i2.i.i.i.i, label %if.then.i.i.i.i, label %_ZNSt11char_traitsIcE7compareEPKcS2_m.exit.i.i.i.i
br i1 %cmp.i2.i.i.i.i, label %_ZNK7testing8internal14ComparisonBaseINS0_9EqMatcherIPKcEES4_St8equal_toIvEE15MatchAndExplainISt17basic_string_viewIcSt11char_traitsIcEEEEbRKT_PSo.exit, label %_ZNSt11char_traitsIcE7compareEPKcS2_m.exit.i.i.i.i

_ZNSt11char_traitsIcE7compareEPKcS2_m.exit.i.i.i.i: ; preds = %land.rhs.i.i.i
%bcmp.i.i.i = tail call i32 @bcmp(ptr %agg.tmp.sroa.2.0.copyload.i.i, ptr %0, i64 %agg.tmp.sroa.0.0.copyload.i.i)
%cmp.i.i.i.i = icmp eq i32 %bcmp.i.i.i, 0
br i1 %cmp.i.i.i.i, label %if.then.i.i.i.i, label %_ZNK7testing8internal14ComparisonBaseINS0_9EqMatcherIPKcEES4_St8equal_toIvEE15MatchAndExplainISt17basic_string_viewIcSt11char_traitsIcEEEEbRKT_PSo.exit

if.then.i.i.i.i: ; preds = %_ZNSt11char_traitsIcE7compareEPKcS2_m.exit.i.i.i.i, %land.rhs.i.i.i
br label %_ZNK7testing8internal14ComparisonBaseINS0_9EqMatcherIPKcEES4_St8equal_toIvEE15MatchAndExplainISt17basic_string_viewIcSt11char_traitsIcEEEEbRKT_PSo.exit

_ZNK7testing8internal14ComparisonBaseINS0_9EqMatcherIPKcEES4_St8equal_toIvEE15MatchAndExplainISt17basic_string_viewIcSt11char_traitsIcEEEEbRKT_PSo.exit: ; preds = %entry, %_ZNSt11char_traitsIcE7compareEPKcS2_m.exit.i.i.i.i, %if.then.i.i.i.i
%1 = phi i1 [ false, %entry ], [ true, %if.then.i.i.i.i ], [ false, %_ZNSt11char_traitsIcE7compareEPKcS2_m.exit.i.i.i.i ]
_ZNK7testing8internal14ComparisonBaseINS0_9EqMatcherIPKcEES4_St8equal_toIvEE15MatchAndExplainISt17basic_string_viewIcSt11char_traitsIcEEEEbRKT_PSo.exit: ; preds = %entry, %land.rhs.i.i.i, %_ZNSt11char_traitsIcE7compareEPKcS2_m.exit.i.i.i.i
%1 = phi i1 [ false, %entry ], [ %cmp.i.i.i.i, %_ZNSt11char_traitsIcE7compareEPKcS2_m.exit.i.i.i.i ], [ true, %land.rhs.i.i.i ]
ret i1 %1
}

Expand Down
49 changes: 23 additions & 26 deletions bench/actix-rs/optimized/188iedib5veo0ne9.ll
Original file line number Diff line number Diff line change
Expand Up @@ -3054,7 +3054,7 @@ define internal fastcc noundef zeroext i1 @"_ZN4http6header3map18HeaderMap$LT$T$
store i64 0, ptr %0, align 8
%29 = shl i64 %11, 1
%30 = tail call fastcc noundef zeroext i1 @"_ZN4http6header3map18HeaderMap$LT$T$GT$8try_grow17hfe240a24cd2b7f35E"(ptr noalias noundef align 8 dereferenceable(96) %0, i64 noundef %29)
br i1 %30, label %128, label %"_ZN4http6header3map18HeaderMap$LT$T$GT$7rebuild17hf0dc069e9c9cdcbaE.exit"
br label %"_ZN4http6header3map18HeaderMap$LT$T$GT$7rebuild17hf0dc069e9c9cdcbaE.exit"

._crit_edge: ; preds = %.lr.ph, %22
tail call void @llvm.experimental.noalias.scope.decl(metadata !579)
Expand Down Expand Up @@ -3084,20 +3084,20 @@ define internal fastcc noundef zeroext i1 @"_ZN4http6header3map18HeaderMap$LT$T$
%47 = zext nneg i16 %46 to i64
%48 = getelementptr inbounds nuw i8, ptr %.sroa.0.046.i, i64 96
store i16 %45, ptr %48, align 8, !noalias !579
br label %.outer39
br label %.outer40

.outer39: ; preds = %62, %41
.outer40: ; preds = %62, %41
%.028.i.ph = phi i64 [ %63, %62 ], [ 0, %41 ]
%.0.i23.ph = phi i64 [ %64, %62 ], [ %47, %41 ]
%.0.i24.ph = phi i64 [ %64, %62 ], [ %47, %41 ]
br label %49

49: ; preds = %.outer39, %49
%.0.i23 = phi i64 [ 0, %49 ], [ %.0.i23.ph, %.outer39 ]
%50 = icmp ult i64 %.0.i23, %38
49: ; preds = %.outer40, %49
%.0.i24 = phi i64 [ 0, %49 ], [ %.0.i24.ph, %.outer40 ]
%50 = icmp ult i64 %.0.i24, %38
br i1 %50, label %51, label %49

51: ; preds = %49
%52 = getelementptr inbounds [0 x { i16, i16 }], ptr %39, i64 0, i64 %.0.i23
%52 = getelementptr inbounds [0 x { i16, i16 }], ptr %39, i64 0, i64 %.0.i24
%53 = load i16, ptr %52, align 2, !noalias !579, !noundef !21
%.not.not.i = icmp eq i16 %53, -1
br i1 %.not.not.i, label %80, label %54
Expand All @@ -3107,15 +3107,15 @@ define internal fastcc noundef zeroext i1 @"_ZN4http6header3map18HeaderMap$LT$T$
%56 = load i16, ptr %55, align 2, !noalias !579, !noundef !21
%57 = and i16 %56, %37
%58 = zext i16 %57 to i64
%59 = sub i64 %.0.i23, %58
%59 = sub i64 %.0.i24, %58
%60 = and i64 %59, %40
%61 = icmp samesign ult i64 %60, %.028.i.ph
br i1 %61, label %65, label %62

62: ; preds = %54
%63 = add nuw nsw i64 %.028.i.ph, 1
%64 = add nuw i64 %.0.i23, 1
br label %.outer39
%64 = add nuw i64 %.0.i24, 1
br label %.outer40

65: ; preds = %54
%66 = trunc i64 %.sroa.7.045.i to i16
Expand All @@ -3124,7 +3124,7 @@ define internal fastcc noundef zeroext i1 @"_ZN4http6header3map18HeaderMap$LT$T$
.outer: ; preds = %73, %65
%.sroa.4.0.i.i.ph = phi i16 [ %75, %73 ], [ %45, %65 ]
%.sroa.0.0.i32.i.ph = phi i16 [ %71, %73 ], [ %66, %65 ]
%.0.i.i.ph = phi i64 [ %76, %73 ], [ %.0.i23, %65 ]
%.0.i.i.ph = phi i64 [ %76, %73 ], [ %.0.i24, %65 ]
br label %67

67: ; preds = %.outer, %67
Expand All @@ -3151,7 +3151,7 @@ _ZN4http6header3map19do_insert_phase_two17h1435585878cd4442E.exit.i: ; preds = %
br label %.backedge.i

.backedge.i: ; preds = %80, %_ZN4http6header3map19do_insert_phase_two17h1435585878cd4442E.exit.i
%77 = phi i64 [ %.0.i.i, %_ZN4http6header3map19do_insert_phase_two17h1435585878cd4442E.exit.i ], [ %.0.i23, %80 ]
%77 = phi i64 [ %.0.i.i, %_ZN4http6header3map19do_insert_phase_two17h1435585878cd4442E.exit.i ], [ %.0.i24, %80 ]
%.sroa.4.0.i.lcssa.sink.i = phi i16 [ %.sroa.4.0.i.i.ph, %_ZN4http6header3map19do_insert_phase_two17h1435585878cd4442E.exit.i ], [ %45, %80 ]
%78 = getelementptr inbounds [0 x { i16, i16 }], ptr %39, i64 0, i64 %77, i32 1
store i16 %.sroa.4.0.i.lcssa.sink.i, ptr %78, align 2, !noalias !579
Expand All @@ -3164,17 +3164,14 @@ _ZN4http6header3map19do_insert_phase_two17h1435585878cd4442E.exit.i: ; preds = %
br label %.backedge.i

.lr.ph: ; preds = %22, %.lr.ph
%.sroa.0.029 = phi ptr [ %82, %.lr.ph ], [ %24, %22 ]
%82 = getelementptr inbounds nuw i8, ptr %.sroa.0.029, i64 4
store i16 -1, ptr %.sroa.0.029, align 2
%83 = getelementptr inbounds nuw i8, ptr %.sroa.0.029, i64 2
%.sroa.0.030 = phi ptr [ %82, %.lr.ph ], [ %24, %22 ]
%82 = getelementptr inbounds nuw i8, ptr %.sroa.0.030, i64 4
store i16 -1, ptr %.sroa.0.030, align 2
%83 = getelementptr inbounds nuw i8, ptr %.sroa.0.030, i64 2
store i16 0, ptr %83, align 2
%84 = icmp eq ptr %82, %26
br i1 %84, label %._crit_edge, label %.lr.ph

"_ZN4http6header3map18HeaderMap$LT$T$GT$7rebuild17hf0dc069e9c9cdcbaE.exit": ; preds = %.backedge.i, %._crit_edge, %104, %28, %127, %17
br label %128

85: ; preds = %17
%86 = icmp eq i64 %7, 0
br i1 %86, label %87, label %104
Expand Down Expand Up @@ -3218,20 +3215,20 @@ common.resume: ; preds = %94, %.body
%99 = extractvalue { ptr, i64 } %98, 0
%100 = extractvalue { ptr, i64 } %98, 1
call void @llvm.lifetime.end.p0(i64 24, ptr nonnull %4)
%.val22 = load i64, ptr %10, align 8, !noundef !21
%101 = icmp eq i64 %.val22, 0
%.val23 = load i64, ptr %10, align 8, !noundef !21
%101 = icmp eq i64 %.val23, 0
br i1 %101, label %"_ZN4core3ptr78drop_in_place$LT$alloc..boxed..Box$LT$$u5b$http..header..map..Pos$u5d$$GT$$GT$17hfbc3678b54a28a01E.exit", label %102

102: ; preds = %"_ZN62_$LT$T$u20$as$u20$alloc..vec..spec_from_elem..SpecFromElem$GT$9from_elem17h0a016f8a9554ef1dE.exit"
%.val = load ptr, ptr %18, align 8, !nonnull !21, !noundef !21
%103 = shl nsw i64 %.val22, 2
%103 = shl nsw i64 %.val23, 2
call void @__rust_dealloc(ptr noundef nonnull %.val, i64 noundef range(i64 1, 0) %103, i64 noundef 2) #34
br label %"_ZN4core3ptr78drop_in_place$LT$alloc..boxed..Box$LT$$u5b$http..header..map..Pos$u5d$$GT$$GT$17hfbc3678b54a28a01E.exit"

104: ; preds = %85
%105 = shl i64 %11, 1
%106 = tail call fastcc noundef zeroext i1 @"_ZN4http6header3map18HeaderMap$LT$T$GT$8try_grow17hfe240a24cd2b7f35E"(ptr noalias noundef align 8 dereferenceable(96) %0, i64 noundef %105)
br i1 %106, label %128, label %"_ZN4http6header3map18HeaderMap$LT$T$GT$7rebuild17hf0dc069e9c9cdcbaE.exit"
br label %"_ZN4http6header3map18HeaderMap$LT$T$GT$7rebuild17hf0dc069e9c9cdcbaE.exit"

"_ZN4core3ptr78drop_in_place$LT$alloc..boxed..Box$LT$$u5b$http..header..map..Pos$u5d$$GT$$GT$17hfbc3678b54a28a01E.exit": ; preds = %102, %"_ZN62_$LT$T$u20$as$u20$alloc..vec..spec_from_elem..SpecFromElem$GT$9from_elem17h0a016f8a9554ef1dE.exit"
store ptr %99, ptr %18, align 8
Expand Down Expand Up @@ -3299,8 +3296,8 @@ common.resume: ; preds = %94, %.body
store i64 0, ptr %6, align 8
br label %"_ZN4http6header3map18HeaderMap$LT$T$GT$7rebuild17hf0dc069e9c9cdcbaE.exit"

128: ; preds = %104, %28, %"_ZN4http6header3map18HeaderMap$LT$T$GT$7rebuild17hf0dc069e9c9cdcbaE.exit"
%.0 = phi i1 [ false, %"_ZN4http6header3map18HeaderMap$LT$T$GT$7rebuild17hf0dc069e9c9cdcbaE.exit" ], [ true, %28 ], [ true, %104 ]
"_ZN4http6header3map18HeaderMap$LT$T$GT$7rebuild17hf0dc069e9c9cdcbaE.exit": ; preds = %.backedge.i, %._crit_edge, %17, %127, %104, %28
%.0 = phi i1 [ %30, %28 ], [ %106, %104 ], [ false, %127 ], [ false, %17 ], [ false, %._crit_edge ], [ false, %.backedge.i ]
ret i1 %.0
}

Expand Down
44 changes: 20 additions & 24 deletions bench/actix-rs/optimized/2o6s6qtmif526itx.ll
Original file line number Diff line number Diff line change
Expand Up @@ -3787,8 +3787,8 @@ define hidden { i64, ptr } @"_ZN2h25codec12framed_write24FramedWrite$LT$T$C$B$GT
%10 = sub i64 %7, %9
%11 = getelementptr inbounds nuw i8, ptr %0, i64 288
%12 = load i64, ptr %11, align 8, !noundef !10
%.not15 = icmp ult i64 %10, %12
br i1 %.not15, label %.critedge, label %28
%.not16 = icmp ult i64 %10, %12
br i1 %.not16, label %.critedge, label %.critedge14

.critedge: ; preds = %2, %5
%13 = tail call { i64, ptr } @"_ZN2h25codec12framed_write24FramedWrite$LT$T$C$B$GT$5flush17h1af54a484cc553dcE"(ptr noalias noundef nonnull align 8 dereferenceable(320) %0, ptr noalias noundef nonnull align 8 dereferenceable(8) %1)
Expand All @@ -3814,18 +3814,16 @@ define hidden { i64, ptr } @"_ZN2h25codec12framed_write24FramedWrite$LT$T$C$B$GT
%25 = sub i64 %22, %24
%26 = getelementptr inbounds nuw i8, ptr %0, i64 288
%27 = load i64, ptr %26, align 8, !noundef !10
%.not16 = icmp ult i64 %25, %27
br i1 %.not16, label %.critedge14, label %28

28: ; preds = %20, %5
%.not17 = icmp ult i64 %25, %27
%spec.select15 = zext i1 %.not17 to i64
br label %.critedge14

.critedge14: ; preds = %18, %.critedge, %15, %20, %28
%.sroa.5.2 = phi ptr [ null, %28 ], [ undef, %20 ], [ undef, %.critedge ], [ %16, %15 ], [ undef, %18 ]
%.sroa.0.2 = phi i64 [ 0, %28 ], [ 1, %20 ], [ %14, %.critedge ], [ 0, %15 ], [ 1, %18 ]
%29 = insertvalue { i64, ptr } poison, i64 %.sroa.0.2, 0
%30 = insertvalue { i64, ptr } %29, ptr %.sroa.5.2, 1
ret { i64, ptr } %30
.critedge14: ; preds = %5, %18, %20, %.critedge, %15
%.sroa.5.2 = phi ptr [ null, %20 ], [ undef, %.critedge ], [ %16, %15 ], [ undef, %18 ], [ null, %5 ]
%.sroa.0.2 = phi i64 [ %spec.select15, %20 ], [ %14, %.critedge ], [ 0, %15 ], [ 1, %18 ], [ 0, %5 ]
%28 = insertvalue { i64, ptr } poison, i64 %.sroa.0.2, 0
%29 = insertvalue { i64, ptr } %28, ptr %.sroa.5.2, 1
ret { i64, ptr } %29
}

; Function Attrs: nonlazybind uwtable
Expand All @@ -3843,8 +3841,8 @@ define hidden { i64, ptr } @"_ZN2h25codec12framed_write24FramedWrite$LT$T$C$B$GT
%10 = sub i64 %7, %9
%11 = getelementptr inbounds nuw i8, ptr %0, i64 288
%12 = load i64, ptr %11, align 8, !noundef !10
%.not15 = icmp ult i64 %10, %12
br i1 %.not15, label %.critedge, label %28
%.not16 = icmp ult i64 %10, %12
br i1 %.not16, label %.critedge, label %.critedge14

.critedge: ; preds = %2, %5
%13 = tail call { i64, ptr } @"_ZN2h25codec12framed_write24FramedWrite$LT$T$C$B$GT$5flush17h84e957494f32f90aE"(ptr noalias noundef nonnull align 8 dereferenceable(328) %0, ptr noalias noundef nonnull align 8 dereferenceable(8) %1)
Expand All @@ -3870,18 +3868,16 @@ define hidden { i64, ptr } @"_ZN2h25codec12framed_write24FramedWrite$LT$T$C$B$GT
%25 = sub i64 %22, %24
%26 = getelementptr inbounds nuw i8, ptr %0, i64 288
%27 = load i64, ptr %26, align 8, !noundef !10
%.not16 = icmp ult i64 %25, %27
br i1 %.not16, label %.critedge14, label %28

28: ; preds = %20, %5
%.not17 = icmp ult i64 %25, %27
%spec.select15 = zext i1 %.not17 to i64
br label %.critedge14

.critedge14: ; preds = %18, %.critedge, %15, %20, %28
%.sroa.5.2 = phi ptr [ null, %28 ], [ undef, %20 ], [ undef, %.critedge ], [ %16, %15 ], [ undef, %18 ]
%.sroa.0.2 = phi i64 [ 0, %28 ], [ 1, %20 ], [ %14, %.critedge ], [ 0, %15 ], [ 1, %18 ]
%29 = insertvalue { i64, ptr } poison, i64 %.sroa.0.2, 0
%30 = insertvalue { i64, ptr } %29, ptr %.sroa.5.2, 1
ret { i64, ptr } %30
.critedge14: ; preds = %5, %18, %20, %.critedge, %15
%.sroa.5.2 = phi ptr [ null, %20 ], [ undef, %.critedge ], [ %16, %15 ], [ undef, %18 ], [ null, %5 ]
%.sroa.0.2 = phi i64 [ %spec.select15, %20 ], [ %14, %.critedge ], [ 0, %15 ], [ 1, %18 ], [ 0, %5 ]
%28 = insertvalue { i64, ptr } poison, i64 %.sroa.0.2, 0
%29 = insertvalue { i64, ptr } %28, ptr %.sroa.5.2, 1
ret { i64, ptr } %29
}

; Function Attrs: nonlazybind uwtable
Expand Down
15 changes: 7 additions & 8 deletions bench/actix-rs/optimized/3arfg1ogrgyw4qv2.ll
Original file line number Diff line number Diff line change
Expand Up @@ -5740,7 +5740,7 @@ define void @_ZN9actix_web4http6header15accept_language14AcceptLanguage10prefere

._crit_edge.thread: ; preds = %2
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %.sroa.453)
br label %.thread44
br label %"_ZN4core3ptr102drop_in_place$LT$actix_web..http..header..preference..Preference$LT$language_tags..LanguageTag$GT$$GT$17h520b62a337950646E.exit"

.lr.ph: ; preds = %2
%.sroa.4.0..sroa_idx = getelementptr inbounds nuw i8, ptr %4, i64 8
Expand All @@ -5759,7 +5759,9 @@ define void @_ZN9actix_web4http6header15accept_language14AcceptLanguage10prefere
%.sroa.510.0..sroa_idx = getelementptr inbounds nuw i8, ptr %5, i64 8
call void @llvm.lifetime.start.p0(i64 64, ptr nonnull %.sroa.453)
%.not = icmp eq i64 %20, -9223372036854775807
br i1 %.not, label %.thread44, label %"_ZN4core3ptr102drop_in_place$LT$actix_web..http..header..preference..Preference$LT$language_tags..LanguageTag$GT$$GT$17h520b62a337950646E.exit"
%spec.select = select i1 %.not, ptr %.sroa.453, ptr %.sroa.510.0..sroa_idx
%spec.select58 = select i1 %.not, i64 -9223372036854775808, i64 %20
br label %"_ZN4core3ptr102drop_in_place$LT$actix_web..http..header..preference..Preference$LT$language_tags..LanguageTag$GT$$GT$17h520b62a337950646E.exit"

12: ; preds = %.lr.ph, %.critedge
%13 = phi i64 [ -9223372036854775807, %.lr.ph ], [ %20, %.critedge ]
Expand All @@ -5777,12 +5779,9 @@ define void @_ZN9actix_web4http6header15accept_language14AcceptLanguage10prefere
%or.cond = icmp ugt i16 %16, %.052
br i1 %or.cond, label %17, label %.critedge

.thread44: ; preds = %._crit_edge.thread, %._crit_edge
br label %"_ZN4core3ptr102drop_in_place$LT$actix_web..http..header..preference..Preference$LT$language_tags..LanguageTag$GT$$GT$17h520b62a337950646E.exit"

"_ZN4core3ptr102drop_in_place$LT$actix_web..http..header..preference..Preference$LT$language_tags..LanguageTag$GT$$GT$17h520b62a337950646E.exit": ; preds = %._crit_edge, %.thread44
%.sroa.453.sink = phi ptr [ %.sroa.453, %.thread44 ], [ %.sroa.510.0..sroa_idx, %._crit_edge ]
%.sroa.08.0.copyload.sink = phi i64 [ -9223372036854775808, %.thread44 ], [ %20, %._crit_edge ]
"_ZN4core3ptr102drop_in_place$LT$actix_web..http..header..preference..Preference$LT$language_tags..LanguageTag$GT$$GT$17h520b62a337950646E.exit": ; preds = %._crit_edge, %._crit_edge.thread
%.sroa.453.sink = phi ptr [ %.sroa.453, %._crit_edge.thread ], [ %spec.select, %._crit_edge ]
%.sroa.08.0.copyload.sink = phi i64 [ -9223372036854775808, %._crit_edge.thread ], [ %spec.select58, %._crit_edge ]
%.sroa.453.0..sroa_idx = getelementptr inbounds nuw i8, ptr %0, i64 8
call void @llvm.memcpy.p0.p0.i64(ptr noundef nonnull align 8 dereferenceable(64) %.sroa.453.0..sroa_idx, ptr noundef nonnull align 8 dereferenceable(64) %.sroa.453.sink, i64 64, i1 false)
store i64 %.sroa.08.0.copyload.sink, ptr %0, align 8
Expand Down
7 changes: 2 additions & 5 deletions bench/assimp/optimized/FBXConverter.cpp.ll
Original file line number Diff line number Diff line change
Expand Up @@ -10535,9 +10535,6 @@ if.then20: ; preds = %invoke.cont17
%6 = call float @llvm.fmuladd.f32(float %sub.i, float %sub.i, float %mul4.i)
%7 = call noundef float @llvm.fmuladd.f32(float %sub5.i, float %sub5.i, float %6)
%cmp25 = fcmp ogt float %7, 0x3E80000000000000
br i1 %cmp25, label %return, label %for.inc.thread

for.inc.thread: ; preds = %if.then20
br label %return

lpad: ; preds = %call.i.noexc, %if.end
Expand Down Expand Up @@ -10573,8 +10570,8 @@ for.inc: ; preds = %switch.early.test,
%exitcond.not = icmp eq i64 %inc, 17
br i1 %exitcond.not, label %return, label %for.body, !llvm.loop !53

return: ; preds = %for.inc, %if.then29, %for.inc.thread, %if.then20
%cmp.lcssa = phi i1 [ true, %if.then20 ], [ false, %for.inc.thread ], [ true, %if.then29 ], [ false, %for.inc ]
return: ; preds = %for.inc, %if.then29, %if.then20
%cmp.lcssa = phi i1 [ %cmp25, %if.then20 ], [ true, %if.then29 ], [ false, %for.inc ]
ret i1 %cmp.lcssa
}

Expand Down
8 changes: 3 additions & 5 deletions bench/bullet3/optimized/btInternalEdgeUtility.ll
Original file line number Diff line number Diff line change
Expand Up @@ -1434,13 +1434,11 @@ _Z27btNearestPointInLineSegmentRK9btVector3S1_S1_RS_.exit293: ; preds = %if.then
%95 = call noundef float @llvm.fmuladd.f32(float %sub14.i300, float %sub14.i300, float %94)
%sqrt.i309 = call noundef float @llvm.sqrt.f32(float %95)
%cmp105 = fcmp olt float %sqrt.i309, %disttobestedge.1
br i1 %cmp105, label %if.then106, label %if.end108

if.then106: ; preds = %_Z27btNearestPointInLineSegmentRK9btVector3S1_S1_RS_.exit293
%spec.select = select i1 %cmp105, i32 2, i32 %bestedge.1
br label %if.end108

if.end108: ; preds = %_Z27btNearestPointInLineSegmentRK9btVector3S1_S1_RS_.exit293, %if.then106, %if.end93
%bestedge.2 = phi i32 [ 2, %if.then106 ], [ %bestedge.1, %_Z27btNearestPointInLineSegmentRK9btVector3S1_S1_RS_.exit293 ], [ %bestedge.1, %if.end93 ]
if.end108: ; preds = %_Z27btNearestPointInLineSegmentRK9btVector3S1_S1_RS_.exit293, %if.end93
%bestedge.2 = phi i32 [ %spec.select, %_Z27btNearestPointInLineSegmentRK9btVector3S1_S1_RS_.exit293 ], [ %bestedge.1, %if.end93 ]
br i1 %cmp67, label %if.then113, label %if.end198

if.then113: ; preds = %if.end108
Expand Down
Loading

0 comments on commit fb64217

Please sign in to comment.